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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Invariant<br />
polynomials<br />
<strong>The</strong> entries a1 ( s), a2 ( s), , ar ( s)<br />
are monic polynomials such that a1 ( s)<br />
divides<br />
ai+1 ( s)<br />
<strong>for</strong> i 1, 2, , r 1.<br />
<strong>The</strong> Smith <strong>for</strong>m is particularly useful <strong>for</strong> theoretical<br />
considerations as it reveals many important properties of the matrix. Its practical<br />
use, however is limited because it is quite sensitive to small parameter perturbations.<br />
<strong>The</strong> computation of the Smith <strong>for</strong>m becomes numerically troublesome as soon as the<br />
matrix size and degree become larger. <strong>The</strong> <strong>Polynomial</strong> <strong>Toolbox</strong> offers a choice of three<br />
different algorithms to achieve the Smith <strong>for</strong>m, all programmed in macro smith.<br />
For larger examples, a manual change of tolerance may be necessary. To compute the<br />
Smith <strong>for</strong>m of a simple matrix<br />
A=[1+s, 0, s+s^2; 0, s+2, 2*s+s^2]<br />
A =<br />
simply call<br />
smith(A)<br />
ans =<br />
1 + s 0 s + s^2<br />
0 2 + s 2s + s^2<br />
1 0 0<br />
0 2 + 3s + s^2 0<br />
<strong>The</strong> polynomials a1 ( s), a2 ( s), , ar ( s)<br />
that appear in the Smith <strong>for</strong>m are uniquely<br />
determined and are called the invariant polynomials of A( s).<br />
<strong>The</strong>y may be retrieved<br />
by typing<br />
diag(smith(A))<br />
ans =<br />
1<br />
2 + 3s + s^2<br />
<strong>Polynomial</strong> matrix equations<br />
Diophantine<br />
equations<br />
<strong>The</strong> simplest type of linear scalar polynomial equation — called Diophantine<br />
equation after the Alexandrian mathematician Diophantos (A.D. 275) — is<br />
a( s) x( s) b( s) y( s) c( s)<br />
<strong>The</strong> polynomials a( s),<br />
b( s)<br />
and c( s)<br />
are given while the polynomials x( s)<br />
and y( s)<br />
are<br />
unknown. <strong>The</strong> equation is solvable if and only if the greatest common divisor of a( s)<br />
and b( s)<br />
divides c( s)<br />
. This implies that with a( s)<br />
and b( s)<br />
coprime the equation is<br />
solvable <strong>for</strong> any right hand side polynomial, including c( s)<br />
1.<br />
<strong>The</strong> Diophantine equation possesses infinitely many solutions whenever it is<br />
solvable. If x( s),<br />
y( s)<br />
is any (particular) solution then the general solution of the<br />
Diophantine equation is<br />
42