Which method is MATLAB use in poly2 to do a curve fitting?
Ältere Kommentare anzeigen
I'm using fit function to conduct a curve fitting for my data and estimate its equation as below. Now I want to know which method is the MATLAB using. Is this based on lest square error or interpolation? I need more explanation to include this in my thesis. Anyone can help please. Thanks in advance.
[population2,gof] = fit(x,y,'poly2');
Akzeptierte Antwort
Weitere Antworten (2)
David Hill
am 11 Jun. 2020
1 Stimme
See Polynomial Models in Matlab documentation
3 Kommentare
Yaser Khojah
am 11 Jun. 2020
David Hill
am 11 Jun. 2020
Did you look at:
help fitoptions;
Yaser Khojah
am 11 Jun. 2020
Rafael Hernandez-Walls
am 11 Jun. 2020
% -- FT is a string or a FITTYPE specifying the model to fit.
%
% If FT is a string, then it may be:
%
% FITTYPE DESCRIPTION
% 'poly1' Linear polynomial curve
% 'poly11' Linear polynomial surface
% 'poly2' Quadratic polynomial curve
% 'linearinterp' Piecewise linear interpolation
% 'cubicinterp' Piecewise cubic interpolation
% 'smoothingspline' Smoothing spline (curve)
% 'lowess' Local linear regression (surface)
%
1 Kommentar
Yaser Khojah
am 11 Jun. 2020
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!