Curve Fitting

Least-squares regression is one technique for accomplishing this objective. ... The least-squares criterion requires that S defined by Eq. (5.1-1) be a minimum ... This is the convention used by Matlab in any polynomial functions. The experimental data and the best fitted line can be plotted by the following Matlab statements >> ycal=polyval(ap ... ................
................