For details of the method and also coding watch the lecture: https://youtu.be/_94kInONp2w
Example:
Enter the values of independent variable x in an array:
[1:1:6]
Enter the values of dependent variable y in an array:
[1 8 27 65 123 208]
Enter the value of x where we want to find the value of f(x): 1.15
The forward difference table is:
d =
7 12 7 -6 12
19 19 1 6 0
38 20 7 0 0
58 27 0 0 0
85 0 0 0 0
The required value is f(1.15)= 1.9871>>
引用格式
Dr. Manotosh Mandal (2024). Newton's Forward Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/72581-newton-s-forward-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!