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.

optimsetPurposeSyntaxDescriptionOptionsCreate or edit optimization options structureoptions = optimset('param1',value1,'param2',value2,...)optimsetoptions = optimsetoptions = optimset(optimfun)options = optimset(oldopts,'param1',value1,...)options = optimset(oldopts,newopts)options = optimset('param1',value1,'param2',value2,...)creates an optimization options structure called options, inwhichthespecified options (param) have specified values. Any unspecified optionsare set to [] (options with value [] indicate to use the default value forthat option when you pass options to the optimization function). It issufficient to type only enough leading characters to define the optionname uniquely. Case is ignored for option names.optimset with no input or output arguments displays a complete listof options with their valid values.options = optimset (with no input arguments) creates an optionsstructure options where all fields are set to [].options = optimset(optimfun) creates an options structure optionswith all option names and default values relevant to the optimizationfunction optimfun.options = optimset(oldopts,'param1',value1,...) creates a copyof oldopts, modifying the specified options with the specified values.options = optimset(oldopts,newopts) combines an existing optionsstructure, oldopts, with a new options structure, newopts. Any optionsin newopts with nonempty values overwrite the corresponding oldoptions in oldopts.For more information about individual options, see the reference pagesfor the optimization functions that use these options. “<strong>Optimization</strong>Options” on page 6-8 provides descriptions of these options and whichfunctions use them.8-184

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

Saved successfully!

Ooh no, something went wrong!