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.

2 TutorialSetting More Than One OptionYou can specify multiple options with one call to optimset. Forexample,toreset the output option and the tolerance on x, enteroptions = optimset('Display', 'iter', 'TolX', 1e-6);Updating an options StructureTo update an existing options structure, call optimset and pass optionsas the first argument:options = optimset(options, 'Display', 'iter', 'TolX', 1e-6);Retrieving Option ValuesUse the optimget function to get option values from an options structure.For example, to get the current display option, enter the following:verbosity = optimget(options, 'Display');2-80

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

Saved successfully!

Ooh no, something went wrong!