Function Summary

The following table lists the MATLAB® optimization functions.

FunctionDescription

fminbnd

Minimize a function of one variable on a fixed interval

fminsearch

Minimize a function of several variables

fzero

Find zero of a function of one variable

lsqnonneg

Linear least squares with nonnegativity constraints

optimget

Get optimization options structure parameter values

optimset

Create or edit optimization options parameter structure

To maximize a function, see Maximizing Functions. For information on solving single-variable nonlinear equations, see Roots of Scalar Functions.

Was this topic helpful?