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!