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!