polyrootsimag
Imaginary roots of a polynomial.
Syntax
polyrootsimag(coeffs )
Argument
- coeffs
- The polynomial coefficients.
Example
Templex Expression | Results |
---|---|
{polyrootsimag({-6, 11, -6, 1})} |
0, 0, 0 |
Comments
The result is a vector containing the imaginary roots of the polynomial specified by cooeffs. If coeffs has N elements, the result has N-1 elements. The coefficients are ordered from 0th order to Nth order. The last element in coeffs must be non-zero.