Products & Services Solutions Academia Support User Community Company

Learn more about Optimization Toolbox   

Examples


Use this list to find examples in the documentation.

Constrained Nonlinear Examples

Nonlinear Constrained Minimization
An Example Using All Types of Constraints
Checking Derivatives of Objective and Constraint Functions
Using a Plot Function
Using Output Functions
Optimization Tool with the fmincon Solver
Nonlinear Inequality Constraints
Bound Constraints
Constraints With Gradients
Constrained Minimization Using fmincon's Interior-Point Algorithm With Analytic Hessian
Equality and Inequality Constraints
Nonlinear Minimization with Bound Constraints and Banded Preconditioner
Nonlinear Minimization with Equality Constraints
Nonlinear Minimization with a Dense but Structured Hessian and Equality Constraints
Using Symbolic Math Toolbox Functions to Calculate Gradients and Hessians
One-Dimensional Semi-Infinite Constraints
Two-Dimensional Semi-Infinite Constraint
Example Using ktrlink

Least Squares Examples

Optimization Tool with the lsqlin Solver
Using lsqnonlin With a Simulink Model
Nonlinear Least-Squares with Full Jacobian Sparsity Pattern
Linear Least-Squares with Bound Constraints
Jacobian Multiply Function with Linear Least Squares
Nonlinear Curve Fitting with lsqcurvefit

Unconstrained Nonlinear Examples

fminunc Unconstrained Minimization
Nonlinear Minimization with Gradient and Hessian
Nonlinear Minimization with Gradient and Hessian Sparsity Pattern

Linear Programming Examples

Linear Programming with Equalities and Inequalities
Linear Programming with Dense Columns in the Equalities

Quadratic Programming Examples

Quadratic Minimization with Bound Constraints
Quadratic Minimization with a Dense but Structured Hessian

Binary Integer Programming Examples

Investments with Constraints

Multiobjective Examples

Using fminimax with a Simulink Model
Signal Processing Using fgoalattain

Equation Solving Examples

Nonlinear Equations with Analytic Jacobian
Nonlinear Equations with Finite-Difference Jacobian
Nonlinear Equations with Jacobian
Nonlinear Equations with Jacobian Sparsity Pattern

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS