12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

lsqcurvefitOutputArguments“Function Arguments” on page 6-2 contains general descriptionsof arguments returned by lsqcurvefit. This section providesfunction-specific details for exitflag, lambda, andoutput:exitflaglambdaInteger identifying the reason the algorithmterminated. The following lists the values ofexitflag and the corresponding reasons thealgorithm terminated:1 Function converged to asolution x.2 Change in x was less than thespecified tolerance.3 Change in the residual was lessthan the specified tolerance.4 Magnitude of search directionsmaller than the specifiedtolerance.0 Number of iterations exceededoptions.MaxIter or number offunction evaluations exceededoptions.FunEvals.-1 Algorithm was terminated bythe output function.-2 Problem is infeasible: thebounds lb and ub areinconsistent.-4 <strong>Optimization</strong> could not makefurther progress.Structure containing the Lagrange multipliers at thesolution x (separated by constraint type). The fieldsof the structure arelowerLower bounds lb8-144

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!