Lagrange's Interpolation
Versione 1.0.01 (1,48 KB) da
Dr. Manotosh Mandal
Matlab codes for Lagrange's Interpolation. The detailed method and 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/S1p04Kbj_pk
Example:
Enter the values of independent variable x in an array:
[6.54 6.58 6.59 6.61 6.64]
Enter the values of dependent variable y in an array:
[2.8156 2.8182 2.8189 2.8202 2.8222]
Enter the value of x where we want to find the value of f(x): 6.60
The required value is f(6.60)= 2.8196>>
Cita come
Dr. Manotosh Mandal (2024). Lagrange's Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/72585-lagrange-s-interpolation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Mathematics > Interpolation >
Scopri di più su Interpolation in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.