Optimization Toolbox    

Minimization
fgoalattain
Multiobjective goal attainment
fminbnd
Scalar nonlinear minimization with bounds
fmincon
Constrained nonlinear minimization
fminimax
Minimax optimization
fminsearch,
fminunc

Unconstrained nonlinear minimization
fseminf
Semi-infinite minimization
linprog
Linear programming
quadprog
Quadratic programming

Equation Solving
\
Use \ (left division) to solve linear equations. See the Arithmetic Operators reference page.
fsolve
Nonlinear equation solving
fzero
Scalar nonlinear equation solving

Least Squares (Curve Fitting)
\
Use \ (left division) for linear least squares with no constraints. See the Arithmetic Operators reference page.
lsqlin
Constrained linear least squares
lsqcurvefit
Nonlinear curve fitting
lsqnonlin
Nonlinear least squares
lsqnonneg
Nonnegative linear least squares

Utility
fzmult
Multiplication with fundamental nullspace basis
gangstr
Zero out "small" entries subject to structural rank
optimget
Get optimization options parameter values
optimset
Create or edit optimization options parameter structure

Demos of Large-Scale Methods

From the MATLAB Help browser, click the demo name to run the demo. Look for information and additional instructions in the MATLAB command window.
circustent
Quadratic programming to find shape of a circus tent
molecule
Molecule conformation solution using unconstrained nonlinear minimization
optdeblur
Image deblurring using bounded linear least squares

Demos of Medium-Scale Methods

From the MATLAB Help browser, click the demo name to run the demo. Look for information and additional instructions in the MATLAB command window.
bandemo
Minimization of the banana function
dfildemo
Finite-precision filter design (requires the Signal Processing Toolbox)
goaldemo
Goal attainment example
optdemo
Menu of demo routines
tutdemo
Script for the medium scale algorithms. The script follows the Tutorial chapter of the Optimization Toolbox User's Guide.


  Function Reference Function Arguments