Lagrange(x,y,x_inter)
Version 1.0.0.0 (757 Bytes) by
Sujin Wanchat
This function is implemented for calculating Lagrange interpolation polynomial
Lagrange interpolation is a kind of polynomial interpolations.
The nth-order polynomial interpolation requires n+1 points.
This method yields the same result as Newton's divided differences interpolation polynomial.
However, in my point of view, it is easier to write a code.
Reference: https://en.wikipedia.org/wiki/Lagrange_polynomial
Cite As
Sujin Wanchat (2026). Lagrange(x,y,x_inter) (https://www.mathworks.com/matlabcentral/fileexchange/66906-lagrange-x-y-x_inter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Find more on Interpolation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Important comments are added. |
