Polynomial fitting in Matlab
Versión 1.0.02 (1,37 KB) por
Dr. Manotosh Mandal
Matlab codes for Polynomial fitting. The details of the method and also codes are available in the video lecture given in the description.
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>>
Citar como
Dr. Manotosh Mandal (2024). Polynomial fitting in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/72732-polynomial-fitting-in-matlab), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Elementary Math > Polynomials >
Más información sobre Polynomials en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.