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.
with⁡MTM:
M≔Matrix⁡1,3,fill=1:
poly2sym⁡M
x2+x+1
M≔Matrix⁡1,2,3,4,5,6:
poly2sym⁡M,y
y5+2⁢y4+3⁢y3+4⁢y2+5⁢y+6
See Also
MTM[sym2poly]
Download Help Document