FindFit
solve a least squares problem using the Levenberg-Marquardt algorithm.
See:
Examples
The default initial guess in the following example for the parameters {a,w,f}
is {1.0, 1.0, 1.0}
.
These initial values give a bad result:
The initial guess {2.0, 1.0, 1.0}
gives a much better result:
You can omit 1.0
in the parameter list because it’s the default value:
Related terms
Fit, FittedModel, LinearModelFit
Implementation status
- ✅ - full supported