Mathematics Previous page   Next Page

Polynomial Evaluation

The polyval function evaluates a polynomial at a specified value. To evaluate p at s = 5, use

It is also possible to evaluate a polynomial in a matrix sense. In this case p(s) = x cubed minus 2 times x minus 5 becomes p(x) = x cubed minus 2 X minus 5 I, where X is a square matrix and I is the identity matrix. For example, create a square matrix X and evaluate the polynomial p at X.


Previous page  Characteristic Polynomials Convolution and Deconvolution Next page

© 1994-2005 The MathWorks, Inc.