最小二乘法拟合多项式.docVIP

  • 13
  • 0
  • 约1.97千字
  • 约 4页
  • 2017-08-15 发布于重庆
  • 举报
最小二乘法拟合多项式.doc

Curve Fitting with MATLAB Curve fitting is a useful tool for representing a data set in a linear or quadratic fashion. MATLAB has two functions, polyfit and polyval, which can quickly and easily fit a polynimial to a set of data points. A first order polynomial is the linear equation that best fits the data. A polynomial can also be used to fit the data in a quadratic sense. As a reminder, the general formula for a polynomial is: The degree of a polynomial is equal to the largest value of the exponents of the independent variable, x. For example: Polyfit and Polyval Polyfit is a MATLAB func

文档评论(0)

1亿VIP精品文档

相关文档