Least Squares Fitting_Polynomial

版本 1.0.0.0 (3.7 KB) 作者: Meysam Mahooti
Finding the best-fitting curve to a given set of points using Least-Squares method
632.0 次下载
更新时间 2016/4/23

查看许可证

We are given measurements of air pollution, in the form of the concentration of NO (y=[110.49 73.72 23.39 17.11 20.31 29.37 74.74 117.02 298.04 348.13 294.75 253.78 250.48 239.48 236.52 245.04 286.74 304.78 288.76 247.11 216.73 185.78 171.19 171.73 164.05]), over a period of 24 hours(t=(0:24)), on a busy street in a major city. Since the NO concentration is mainly due to the cars, it has maximum values in the morning and in the afternoon, when the traffic is most intense. Here, we used the Least-Squares technique of data fitting for the purpose of
approximating measured discrete data: we fitted a polynomial to given data in order to be able to compute smoothed data for any value of the independent variable (t) in the model (f).

引用格式

Meysam Mahooti (2025). Least Squares Fitting_Polynomial (https://ww2.mathworks.cn/matlabcentral/fileexchange/56155-least-squares-fitting_polynomial), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

The image is added.