image thumbnail

Lagrange's Interpolation

version 1.0.01 (1.48 KB) by Dr. Manotosh Mandal
Matlab codes for Lagrange's Interpolation. The detailed method and codes are available in the video lecture given in the description.

345 Downloads

Updated 16 Jan 2022

View License

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>>

Cite As

Dr. Manotosh Mandal (2022). Lagrange's Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/72585-lagrange-s-interpolation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!