Lagrange_Interp(X,Y,x)
Version 1.0.0.0 (1.16 KB) by
Aryaa Ravieshancar
Program to calculate Lagrange polynomial and the interpolated value
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 LinuxCategories
- MATLAB > Mathematics > Interpolation >
Find more on Interpolation in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |