Quantcast
Channel: MATLAB Central Newsreader - tag:"optimization"
Browsing all 130 articles
Browse latest View live

Re: MATLAB optimization toolbox for minimizing energy of a beam

On 11/27/2016 12:06 PM, Mjay21 wrote:> I am working with a modified Euler Bernoulli beam. The energy> functional is a function of curvature (theta') and also the slope> (tan(theta)). I want to...

View Article


Re: Problem with optimoptions

On 11/24/2016 10:35 AM, Dom Fazzari wrote:> Hi everyone> I've some troubles with this code I've just written:> gs = GlobalSearch;> G1 = @(x)(x0(1).*((-96.19)+>...

View Article


Solving ODE with constraints

Hello to all, I am trying to numerically solve an ODE inequality of the form : y(x)" + a(x)*y(x)' + b(x)*y(x) <= 0 Where a(x) and b(x) are spatially varying parameters. In my solution, y(x) must be...

View Article

Re: Problem with optimoptions

Alan Weiss <aweiss@mathworks.com> wrote in message <o1h1mp$sl2$1@newscl01ah.mathworks.com>...> On 11/24/2016 10:35 AM, Dom Fazzari wrote:> > Hi everyone> > I've some troubles...

View Article

Re: Problem with optimoptions

"Dom Fazzari" wrote in message <o1p2uv$1ho$1@newscl01ah.mathworks.com>...> Alan Weiss <aweiss@mathworks.com> wrote in message <o1h1mp$sl2$1@newscl01ah.mathworks.com>...> > On...

View Article


Re: Problem with optimoptions

"Torsten" wrote in message <o1p3r3$3cs$1@newscl01ah.mathworks.com>...> "Dom Fazzari" wrote in message <o1p2uv$1ho$1@newscl01ah.mathworks.com>...> > Alan Weiss...

View Article

Optimisation of function with multiple parameters

I have a measurement system to optimize. The system measured N time a caliber of a fix and known dimension. it give me for each measure 7 values of various encoders. Then i have a mathematic model (a...

View Article

Solve constrained overdetermined equations

I need to solve a constrained least square problem: A is a 6x6 matrix. A=[1 0 0 0 0 1;      1 1 0 0 0 0;      0 1 1 0 0 0;       0 0 1 1 0 0;      0 0 0 1 1 0      0 0 0 0 1 1]; B=[3; 2; 1; 2; 2; 2];...

View Article


Re: Solve constrained overdetermined equations

"WeiAn" wrote in message <o22efv$jgu$1@newscl01ah.mathworks.com>...> When I use lsqlin to solve this optimisation problem, it shows the all x(i)=1, and the convergence is satisfied.> >...

View Article


Re: Solve constrained overdetermined equations

Actually this is what I get, not x(i)=1/>> x=lsqlin(A,B,[],[],ones(1,6),1,zeros(6,1),ones(6,1)) Warning: The trust-region-reflective algorithm can handle bound constraints only;    using...

View Article

Quadprog For Economy Dispatch Not Return Global Optimum

In electrical economy dispatch, we cant choose initial guess, so we use data. In my case, this source code cant return the optimum, even if all the coefficient in the quadratic equation is positive....

View Article

Re: 3D Curve Fit

How to do 3d curve fit using this function? all of the examples are 2d. "Craig Cowled" wrote in message <ko61sl$87m$1@newscl01ah.mathworks.com>...> Fabian,> > I just noticed your...

View Article

Particle Swarm Optimization (PSO) Matlab toolbox

Hello Everybody! I'm quite new to pso matlab toolbox and I would like to call some help. I can't get this follow code working: f = @(x,y)sin(sqrt(x.^2+y.^2))/sqrt(x.^2+y.^2); nvar = 2; [x,fval] =...

View Article


Re: Particle Swarm Optimization (PSO) Matlab toolbox

On 1/19/2017 3:59 PM, Daniel Caliari wrote:> Hello Everybody!> I'm quite new to pso matlab toolbox and I would like to call some help.> I can't get this follow code working:>>> f =...

View Article

Options for patternsearch

I am trying to figure out how to set a threshold for the function value, so that patternsearch would stop once the function value falls below that threshold. Normally this would be set with the...

View Article


Re: Options for patternsearch

On 2/8/2017 2:15 PM, József Vass wrote:> I am trying to figure out how to set a threshold for the function value,> so that patternsearch would stop once the function value falls below> that...

View Article

Re: Options for patternsearch

Thanks Alan! Makes sense for now, will try.

View Article


Re: fmincon Derivative Check Tolerance

"John R." wrote in message <mddcs7$plb$1@newscl01ah.mathworks.com>...> Hello,> > Is it possible to set the tolerance for fmincon's derivative check?> > It appears to use 1e-6 as a...

View Article

Re: Create mex file from levmar.c

Did you solve that? Same question "Toan Cao" wrote in message <lk90a8$n8v$1@newscl01ah.mathworks.com>...> Hello everyone,> > I would like to use Levmar package (code C for...

View Article

Re: Estimation of variables to minimize the sum of residuals

Hi Rakesh, I'm having a similar problem: I have some data on rats performing a task whereby they have to learn associations between a stimulus and a response and make a correct choice. So I create...

View Article
Browsing all 130 articles
Browse latest View live