Lagrange and newton poly
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Laura Proctor
2011-6-13
You can try this function from the file exchange: http://www.mathworks.com/matlabcentral/fileexchange/13151-lagrange-interpolator-polynomial
2 个评论
Laura Proctor
2011-6-13
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!