Contents Previous Next Subchapters

Displaying A Polynomial
Syntax pol2asc(p)
See Also polval , zero2pol

Description
Returns an ASCII representation of the polynomial p[x] as a character row vector, where p is an integer, real, double-precision or complex column vector. The current format for the type corresponding to p is used to convert the values in p to ASCII.

Example
     pol2asc(seq(3))
returns
     1 + 2 x^1 + 3 x^2