12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lsqcurvefitoutputupperUpper bounds ubStructure containing information about theoptimization. The fields of the structure areiterationsfuncCountalgorithmcgiterationsstepsizefirstorderoptNumber of iterations takenNumber of function evaluationsAlgorithm usedThe number of PCG iterations(large-scale algorithm only)The final step size taken(medium-scale algorithm only).Measure of first-orderoptimality (large-scalealgorithm only).For large-scale boundconstrained problems, thefirst-order optimality isthe infinity norm of v.*g,where v is defined as in “BoxConstraints” on page 4-10, andg is the gradient g = J T F (see“Nonlinear Least-Squares” onpage 4-12).Note The sum of squares should not be formed explicitly. Instead, yourfunction should return a vector of function values. See the examplesbelow.Options<strong>Optimization</strong> options used by lsqcurvefit. Some options apply toall algorithms, some are only relevant when using the large-scalealgorithm, and others are only relevant when you are using the8-145

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

Saved successfully!

Ooh no, something went wrong!