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.

5 <strong>Optimization</strong> Toollsqcurvefit Problem SetupAlgorithmSpecify whether you want to use large or medium scale. Within medium scalethere are two option choices: the Levenberg-Marquardt or the Gauss-Newtonalgorithm. For more information on the routines <strong>Optimization</strong> <strong>Toolbox</strong> usesfor these choices, see “Medium- and Large-Scale Algorithms” on page 2-7.Function to MinimizeObjective function (required) is the function whose sum of squares youwant to minimize. Specify the function as a function handle of the form@objfun, where objfun.m is an M-file that returns a vector function value, oras an anonymous function. You must specify the input data X to the objectivefunction. For a description of this M-file, see the “Input Arguments” on page8-142 section of the function reference page.Derivatives specifies if the Jacobian is supplied in the objective function or ifit should beapproximatedbythesolver.Start point (required) is the initial point (vector) for the algorithm.Data (required) are the input data X and observed output data Y.lsqcurvefit finds coefficients to best fit the nonlinear function objfun tothe data.5-22

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

Saved successfully!

Ooh no, something went wrong!