%integrate SciMax Toolbox equal (==)

SciMax Toolbox >> poly2coef

poly2coef

Returns a list of coefficients

Calling Sequence

L=poly2coef(P,x)

Parameters

P

is a sym or a polynomial

x

is a string representing the main variable of P

S

is a sym-list representing the coefficient in x of P

Description

The polynomial can be multi-variable.

Examples

Syms(['x' 'y'])
P=x^4*y^3-2*x^3*y^2+3*x^2-y+1
poly2coef(P,x),poly2coef(P,y)

Author

See also

%integrate SciMax Toolbox equal (==)