Search Documentation
Documentation
Toggle navigation
All Products
Optimization Toolbox
Getting Started
Examples
Functions
Release Notes
PDF Documentation
Least Squares
Linear Least Squares
Nonlinear Least Squares (Curve Fitting)
Nonlinear Least Squares (Curve Fitting)
Solve nonlinear least-squares (curve-fitting) problems
Functions
lsqcurvefit
Solve nonlinear curve-fitting (data-fitting) problems in least-squares sense
lsqnonlin
Solve nonlinear least-squares (nonlinear data-fitting) problems
Examples and How To
lsqnonlin with a Simulink Model
Nonlinear Least Squares With and Without Jacobian
Nonlinear Curve Fitting with lsqcurvefit
Fit a Model to Complex-Valued Data
Concepts
Least Squares Definition
Trust-Region-Reflective Least Squares
Levenberg-Marquardt Method
Was this topic helpful?
Optimization Toolbox Documentation
Getting Started
Examples
Functions
Release Notes
PDF Documentation
Other Documentation
MATLAB
Symbolic Math Toolbox
Global Optimization Toolbox
Curve Fitting Toolbox
Statistics and Machine Learning Toolbox
All Products
Support
MATLAB Answers
Installation Help
Bug Reports
Product Requirements
Software Downloads