Lagrange and newton poly
Afficher commentaires plus anciens
I can't build lagrangepoly and newtonpoly using "spline" X = [0.13 0.18 0.23 0.28 0.33 0.38]; Y = [0.129 0.179 0.228 0.276 0.324 0.371]; Please help me.
Réponses (1)
Laura Proctor
le 13 Juin 2011
0 votes
You can try this function from the file exchange: http://www.mathworks.com/matlabcentral/fileexchange/13151-lagrange-interpolator-polynomial
2 commentaires
Anatoliy
le 13 Juin 2011
Laura Proctor
le 13 Juin 2011
From the description:
P [returns] the N coefficients defining that polynomial.
R returns the x co-ordinates of the N-1 extrema/inflection points of the resulting polynomial (roots of its derivative)
S returns the value of the polynomial at those points
Catégories
En savoir plus sur Polynomials dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!