Fit and Polyfit (LAR vs. Least squares)
57 vues (au cours des 30 derniers jours)
Guru le 4 Juil 2013
You can find out by asking for the output argument:
[fitobject,gof,output] = fit(x,y,fitType)
But the real difference between fit and polyfit are the options that you can choose as well as polyfit is strictly limited to polynomials and uses the least squares method.