Lagrange and newton poly
8 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Laura Proctor
on 13 Jun 2011
You can try this function from the file exchange: http://www.mathworks.com/matlabcentral/fileexchange/13151-lagrange-interpolator-polynomial
2 Comments
Laura Proctor
on 13 Jun 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
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!