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.

lsqcurvefitmedium-scale algorithm. You can use optimset to set or changethe values of these fields in the options structure options. See“<strong>Optimization</strong> Options” on page 6-8 for detailed information.The LargeScale option specifies a preference for which algorithm to use.It is only a preference, because certain conditions must be met to use thelarge-scale or medium-scale algorithm. For the large-scale algorithm,the nonlinear system of equations cannot be underdetermined; that is,the number of equations (the number of elements of F returned by fun)must be at least as many as the length of x. Furthermore, only thelarge-scale algorithm handles bound constraints:LargeScaleUse large-scale algorithm if possible when setto 'on'. Use medium-scale algorithm when setto 'off'.Medium-Scale and Large-Scale AlgorithmsTheseoptionsareusedbyboththemedium-scale and large-scalealgorithms:DerivativeCheck Compare user-supplied derivatives (Jacobian) tofinite-differencing derivatives.DiagnosticsDiffMaxChangeDiffMinChangeDisplayDisplay diagnostic information about the functionto be minimized.Maximum change in variables for finitedifferencing.Minimum change in variables for finitedifferencing.Level of display. 'off' displays no output, and'final' (default) displays just the final output.8-146

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

Saved successfully!

Ooh no, something went wrong!