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.

fminuncPurposeEquationFind minimum of unconstrained multivariable functionFinds the minimum of a problem specified bywhere x is a vector and f(x) is a function that returns a scalar.SyntaxDescriptionx = fminunc(fun,x0)x = fminunc(fun,x0,options)[x,fval] = fminunc(...)[x,fval,exitflag] = fminunc(...)[x,fval,exitflag,output] = fminunc(...)[x,fval,exitflag,output,grad] = fminunc(...)[x,fval,exitflag,output,grad,hessian] = fminunc(...)fminunc attempts to find a minimum of a scalar function of severalvariables, starting at an initial estimate. This is generally referred to asunconstrained nonlinear optimization.x = fminunc(fun,x0) starts at the point x0 and attempts to find alocal minimum x of the function described in fun. x0 can be a scalar,vector, or matrix.x = fminunc(fun,x0,options) minimizes with the optimizationoptions specified in the structure options. Useoptimset to set theseoptions.[x,fval] = fminunc(...) returns in fval the value of the objectivefunction fun at the solution x.[x,fval,exitflag] = fminunc(...) returns a value exitflag thatdescribes the exit condition.[x,fval,exitflag,output] = fminunc(...) returns a structureoutput that contains information about the optimization.[x,fval,exitflag,output,grad] = fminunc(...) returns in gradthe value of the gradient of fun at the solution x.8-75

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

Saved successfully!

Ooh no, something went wrong!