Lagrange(x,y,x_inte​r)

This function is implemented for calculating Lagrange interpolation polynomial
92 Downloads
Updated 13 Apr 2018

View License

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 Linux
Categories
Find more on Interpolation in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Important comments are added.