Documentation

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Characteristic Polynomials

The poly function also computes the coefficients of the characteristic polynomial of a matrix:

A = [1.2 3 -0.9; 5 1.75 6; 9 0 1];
poly(A)

ans =
    1.0000   -3.9500   -1.8500  -163.2750

The roots of this polynomial, computed with roots, are the characteristic roots, or eigenvalues, of the matrix A. (Use eig to compute the eigenvalues of a matrix directly.)

Was this topic helpful?