Newton's Forward Interpolation
バージョン 1.0.01 (1.49 KB) 作成者:
Dr. Manotosh Mandal
Matlab codes for Newton's Forward Interpolation.
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カテゴリ
- MATLAB > Mathematics > Interpolation >
Help Center および MATLAB Answers で Interpolation についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!