MATLAB simulation of curve fitting based onleast-squares
Chen Lan-fen
Abstract
Chen Lan-fen
Abstract
In scientific experiments and applications,based on analyzing a set of test data to seek approximate function relational expression between the independent variables and the dependent variable is often necessary.So that it can easily be used in computer or by other designer for other design or calculation,such problem is the curve fitting by the set of test data.In the field of system identification,because more accurate and practical,least squares curve fitting is widely used as the most commonly used method.The principle of curve fitting based on least squares method is introduced in this paper.The method of curve fitting by function,the method of curve fitting by graphical interface and the method of curve fitting by Fitting Toolbox are analyzed by examples specifically.The effects and characteristics of various methods of fitting are compared and analyzed in this paper.The following conclusions by analyzing,there is need for a better understanding of fitting function and the related programs are written used the method of curve fitting by function.This method is more flexible.The characteristics are intuitive,simple and the parameters and residuals of fitting equation can be obtained by using the method of curve fitting by graphical interface or by Fitting Toolbox.Fitting accuracy is high and the effect is good.
OpenAlex reports 2 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In scientific experiments and applications,based on analyzing a set of test data to seek approximate function relational expression between the independent variables and the dependent variable is often necessary.So that it can easily be used in computer or by other designer for other design or calculation,such problem is the curve fitting by the set of test data.In the field of system identification,because more accurate and practical,least squares curve fitting is widely used as the most commonly used method.The principle of curve fitting based on least squares method is introduced in this paper.The method of curve fitting by function,the method of curve fitting by graphical interface and the method of curve fitting by Fitting Toolbox are analyzed by examples specifically.The effects and characteristics of various methods of fitting are compared and analyzed in this paper.The following conclusions by analyzing,there is need for a better understanding of fitting function and the related programs are written used the method of curve fitting by function.This method is more flexible.The characteristics are intuitive,simple and the parameters and residuals of fitting equation can be obtained by using the method of curve fitting by graphical interface or by Fitting Toolbox.Fitting accuracy is high and the effect is good.
Key concepts: Curve fitting, Function (biology), Least-squares function approximation, MATLAB, Polynomial and rational function modeling, Computer science, Set (abstract data type), Algorithm