Extracting the co-efficients of the polynomial

Halo everybody In MATLAB I developed a polynomial equation of the form
a0*x^n+a1*x^(n-1)+a2*x^(n-2)+....+an=f(x) where x is a symbolic variable and a0,a1,a2,....,an are known constants.
Now I want to find the roots of this equation. Is it possible to extract the coefficients of this equation and store in a row vector so that the root command can be used to get the roots of this eqn. Can any one help in this?

 Accepted Answer

More Answers (0)

Categories

Tags

Asked:

on 17 Apr 2011

Community Treasure Hunt

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

Start Hunting!