 |
Walking Randomly » Simple nonlinear least squares curve fitting in MATLAB
For completeness, you missed the |lsqnonlin| function from the Statistics toolbox. It is basically equivalent to |lsqcurvefit| for solving nonlinear LSQ problems, only exposing a slightly different interface. % objective function fun = @(p) (p(1)*cos(p(2)
www.walkingrandomly.com |
 |