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.

lsqnonneg[x,resnorm,residual,exitflag,output] = lsqnonneg(...) returnsa structure output that contains information about the optimization.[x,resnorm,residual,exitflag,output,lambda] =lsqnonneg(...) returns the Lagrange multipliers in the vector lambda.InputArguments“Function Arguments” on page 6-2 contains general descriptionsof arguments passed into lsqnonneg. This section providesfunction-specific details for options:optionsUse optimset to set or change the values of thesefields in the options structure, options. See“<strong>Optimization</strong> Options” on page 6-8 for detailedinformation.DisplayLevel of display. 'off' displays nooutput; 'final' displays just the finaloutput; 'notify' (default) displaysoutput only if the function does notconverge.TolX Termination tolerance on x.OutputArguments“Function Arguments” on page 6-2 contains general descriptionsof arguments returned by lsqnonneg. This section providesfunction-specific details for exitflag, lambda, andoutput:exitflagInteger identifying the reasonthealgorithmterminated. The following lists the values ofexitflag and the corresponding reasons thealgorithm terminated.1 Function converged to asolution x.0 Number of iterations exceededoptions.MaxIter.8-180

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

Saved successfully!

Ooh no, something went wrong!