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>>
引用格式
Dr. Manotosh Mandal (2024). Lagrange's Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/72585-lagrange-s-interpolation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!