Mu Analysis and Synthesis Toolbox    
vpoly, vroots

Find coefficients and roots of a characteristic polynomial from a CONSTANT or VARYING matrix

Syntax

Description
vpoly forms an n + 1 element VARYING row vector whose elements form the coefficients of the characteristic polynomial, det(sI - matin(i)), if matin is an
n x n VARYING matrix. The coefficients are ordered in descending powers of s. If the input is a column vector vecin containing the roots of a polynomial, vpoly(vecin) returns a VARYING row vector whose elements are the coefficients of the corresponding characteristic polynomial.

vroots returns as a VARYING column vector vecout whose elements are the roots of the polynomial at each independent variable, if vecin is a VARYING row vector containing the coefficients of a polynomial. vpoly and vroots are identical to the MATLAB poly and roots commands, but also work on VARYING matrices.

Examples
Given a 3 x 3 VARYING matrix, find the characteristic polynomial and its roots. Compare this to finding the eigenvalues of the input matrix via veig.

Algorithm
vpoly and vroots call the MATLAB poly and roots commands.

See Also
eig, poly, roots, veig



vplot vsvd, vrho, vschur