This is a program to compute Lagrange interpolating polynomial as a tool for curve fitting. The inputs are the data points from an experiment the value at a latter point can be determined using the Lagrange interpolating polynomial. The polynomial coefficients and the fitting curve are also returned.
Bibhu Das (2021). Matlab code for Lagrange interpolation (https://www.mathworks.com/matlabcentral/fileexchange/65538-matlab-code-for-lagrange-interpolation), MATLAB Central File Exchange. Retrieved .
Inspired: Numerical Methods
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!