Lagrange polynomial and its subpolynomials

Construction of the Lagrange interpolation polynomial from its definition.
132 Downloads
Aktualisiert 18. Mär 2017

Lizenz anzeigen

Given a set of n discrete points xp, the function computes coefficients of n Lagrange subpolynomials L_1(x), L_2(x), ...., L_n(x) satisfying the property L_i(xp_j)=0 if i~=j, L_i(xp_j)=1 if i=j, for i,j=1,...,n. A linear combination (with coefficients yp) of these subpolynomials defines a Lagrange polynomial passing through points (xp,yp).

Zitieren als

Jan Valdman (2025). Lagrange polynomial and its subpolynomials (https://www.mathworks.com/matlabcentral/fileexchange/62120-lagrange-polynomial-and-its-subpolynomials), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Polynomials finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Description updated.

Title updated.