Trajectory planning with single polynomial

1 view (last 30 days)
I am trying to define the joint position profile using a single polynomial
q(t)=sum(ai*t^i) for i=0:14
i know how to solve this by hand but it will take a lot of time. So i tried on matlab and find the coefficient ai.
Can somebody help m please.
  1 Comment
Walter Roberson
Walter Roberson on 10 Apr 2017
What are you trying to solve for ? Are you trying to find the ai ?

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 10 Apr 2017
Edited: John D'Errico on 10 Apr 2017
Using a polynomial of degree 14 is simply a bad idea. Almost any computation done in double precision arithmetic will be unstable to compute. Worse, that polynomial will tend to be nasty, with potentially lots of bumps and wiggles.
You will almost always be far better off using a spline of some sort.

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!