MTM
poly2sym
convert coefficients to a polynomial
Calling Sequence
Parameters
Description
Examples
poly2sym(M,x)
M
-
matrix, vector, array, or scalar
x
(optional) symbol
The poly2sym(M,x) function returns a polynomial with indeterminate x, using the elements of M as coefficients.
withMTM:
M≔Matrix1,3,fill=1:
poly2symM
x2+x+1
M≔Matrix1,2,3,4,5,6:
poly2symM,y
y5+2y4+3y3+4y2+5y+6
See Also
MTM[sym2poly]
Download Help Document