22.07.2013 Views

The Polynomial Toolbox for MATLAB - DCE FEL ČVUT v Praze

The Polynomial Toolbox for MATLAB - DCE FEL ČVUT v Praze

The Polynomial Toolbox for MATLAB - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

isunimod(U)<br />

ans =<br />

1<br />

Also the adjoint matrix is defined as <strong>for</strong> constant matrices. <strong>The</strong> adjoint is a<br />

polynomial matrix and may be computed by typing<br />

adj(P)<br />

ans =<br />

1 - s - s^2 0 s - s^2 - s^3<br />

s + s^2 -s -1 + s + s^2 + s^3<br />

-1 - s 1 -s^2<br />

Quite to the contrary, the inverse of a square polynomial matrix is usually not a<br />

polynomial but a polynomial fraction<br />

inv(P)<br />

ans =<br />

-1 + s + s^2 0 -s + s^2 + s^3<br />

-s - s^2 s 1 - s - s^2 - s^3<br />

1 + s -1 s^2<br />

----------------------------------------<br />

-1 + s + s^2<br />

For more details, see Chapter 4, <strong>Polynomial</strong> matrix fractions.<br />

<strong>The</strong> only cases do have polynomial inverse are unimodular matrices. In our example<br />

inv(U)<br />

ans =<br />

Indeed,<br />

U*inv(U)<br />

ans =<br />

1 -2 - s + s^2 -1 + s + s^2 - s^3<br />

-1 3 + s - s^2 1 - 2s - s^2 + s^3<br />

1 -2 + s^2 s - s^3<br />

1.0000 0 0<br />

0 1.0000 0<br />

0 0 1.0000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!