For details of the method and also coding watch the lecture: https://youtu.be/Ii8zuYd5Tjk
Enter the x values: [0.2 0.5 0.75 0.9 1.13 1.27 1.49 1.67 1.78 1.92]
Enter the y values: [1.8 2.5 3.2 4.7 5.11 5.3 7.3 7.5 8.7 8.95]
Enter the desire degree of polynomial: 3
The coefficients of the desired polynomial:
-0.507
2.425
1.186
1.439
The values of polynomial at given set of x values:
1.769
2.575
3.479
4.101
5.144
5.818
6.913
7.821
8.374
9.067>>
引用格式
Dr. Manotosh Mandal (2024). Polynomial fitting in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/72732-polynomial-fitting-in-matlab), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Elementary Math > Polynomials >
在 Help Center 和 MATLAB Answers 中查找有关 Polynomials 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!