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카테고리
- 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!