FUNCTION REFERENCE
poly
Polynomial coefficients from roots, or the characteristic polynomial of a matrix.
Polynomial coefficients from roots, or the characteristic polynomial of a matrix.
Syntax
p = poly(r)Syntax
p = poly(A)For a vector r, p has the roots r. For a square matrix A, p is det(s*I - A)
computed from its eigenvalues. The result is real when the roots come in
complex conjugate pairs.
Example
poly([1 2 3]) % [1 -6 11 -6]Differences from MATLAB: complex vectors and square matrices are supported; eigenvalues of a complex matrix come from the engine's eig.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.