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.

Function ArgumentsInput Arguments (Continued)Argument Description Used by Functionsxdata, ydatax0The input data xdata and theobserved output data ydata thataretobefittedtoanequation.Starting point (a scalar, vector ormatrix).(For fzero, x0 canalsobeatwo-element vector representing aninterval that is known to containazero.)x1, x2 The interval over which thefunction is minimized.lsqcurvefitAll functions except fminbndfminbndOutput ArgumentsArgument Description Used by FunctionsattainfactorexitflagThe attainment factor at thesolution x.An integer identifying the reasonthe optimization algorithmterminated. You can use exitflagas a programming tool whenwriting M-files that performoptimizations. See the referencepages for the optimization functionsfor descriptions of exitflag specificto each function.You can also return a messagestating why an optimizationterminated by calling theoptimization function withthe output argument output andthen displaying output.message.fgoalattainAll functions6-5

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

Saved successfully!

Ooh no, something went wrong!