Lagrange_Interp(X,Y​,x)

Program to calculate Lagrange polynomial and the interpolated value
210 Downloads
Updated 11 Apr 2015

View License

This program calculates the Lagrange coefficients and the interpolated value. The coefficients are displayed starting from the highest power. For eg: if there are 3 co-ordinates we expect a polynomial of order 2. In this case the first coefficient in the coefficient vector is that for x^2, then for x^1, and then for x^0.

Cite As

Aryaa Ravieshancar (2024). Lagrange_Interp(X,Y,x) (https://www.mathworks.com/matlabcentral/fileexchange/50471-lagrange_interp-x-y-x), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interpolation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0