Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
The two inputs X and Y are vectors defining a set of N points. The function uses Lagrange's method to find the N-1th order polynomial that passes through all these points, and returns in P the N coefficients defining that polynomial. Then, polyval(P,X) = Y.
R returns the x co-ordinates of the N-1 extrema/inflection points of the resulting polynomial (roots of its derivative), and S returns the value of the polynomial at those points.
For a general-purpose way to find a smooth curve connecting points, you probably want to use SPLINE instead.
Citation pour cette source
Dan Ellis (2026). Lagrange Interpolator Polynomial (https://fr.mathworks.com/matlabcentral/fileexchange/13151-lagrange-interpolator-polynomial), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : Lagrange polynomial interpolation, lagrange interpolation and derivative
Informations générales
- Version 1.0.0.0 (15,8 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 | - added example to comments as per code metrics report
|
