|
|
Re: get coefficients from a symbolic polynomial
Posted:
Jan 5, 2013 3:24 PM
|
|
On 1/5/2013 9:49 AM, Qiming wrote: > Hi all: > > I have a question of how to get coefficients from a symbolic polynomial. > > Suppose the polynomial is "y=x+2x^2+3x^3", we want the result to be: [0,1,2,3];
EDU>> sym2poly(sym('3*x^3 + 2*x^2 + x'))
3 2 1 0
--Nasser
|
|