Lagrange and newton poly

8 views (last 30 days)
Anatoliy
Anatoliy on 13 Jun 2011
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.

Answers (1)

Laura Proctor
Laura Proctor on 13 Jun 2011
  2 Comments
Anatoliy
Anatoliy on 13 Jun 2011
But I don't know that in an example means [P,R,S]????
Laura Proctor
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

Sign in to comment.

Categories

Find more on Polynomials in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!