list
A = 10*rand(n)-5 + (10*rand(n)-5)*1i;
where
rand
is the uniform (0,1) random generator,
and
1i
is the MATLAB notation for the purely imag-
inary unit, ı. Then, the B, C, E, and F matrices have
been transformed using the formulas
B := B− B
H
, B := B/2; C := C −C
H
,
E := E + E
H
, E := E/2; F := F + F
H
,
to become skew-Hermitian, and Hermitian, respec-
tively. Therefore, the pencil λS − H is skew-
Hamiltonian/Hamiltonian.
The order n took the values n = 100,200, ...,
800. For each order n ≤ 500, 10 problems have been
solved, and the means of the results are reported.
For larger n values, one problem has been solved for
each n. The generalized eigenvalues computed by a
structure-preserving algorithm have been compared
with those delivered by the standard QZ algorithm,
optimally implemented in the MATLAB function
eig
.
Fig. 1 presents the ratios of the mean CPU times,
in seconds, i.e., the speed-up factor of the structured
algorithm, in comparison with the standard algorithm.
0 200 400 600 800
1
2
3
4
5
6
7
n
Time eig/Time structured alg.
Comparison of CPU times for eig / structured algorithm
Figure 1: Ratios between the CPU times needed by
the MATLAB function
eig
and the structure-preserving
algorithm for randomly generated complex skew-
Hamiltonian/Hamiltonian pencils of order 2n.
The deviation from symmetry of the eigenval-
ues computed by
eig
has also been computed as
the difference between the vector of eigenvalues λ =
[λ
1
,λ
2
,... ,λ
2n
]
T
and a permutation of the elements
of the vector −
¯
λ, chosen so that the elements with
the same indices in the two vectors be as close as
possible. The largest norm has been 4 · 10
−10
, and
the smallest norm has been 1.90 · 10
−12
. The norms
should theoretically be 0.
5 CONCLUSIONS
Main issues related to the structure-preserving algo-
rithms for solving discrete-time algebraic matrix Ric-
cati equations are summarized. Stable deflating sub-
spaces for extended, inverse-free symplectic matrix
pencils, are computed. Algorithms based on skew-
Hamiltonian/Hamiltonian pencils derived by an ex-
tended Cayley transformation, which only involves
matrix additions and subtractions, are considered.
The preliminary results are encouraging.
ACKNOWLEDGEMENTS
The work was partially supported by the German Re-
search Foundation (DFG) and The MathWorks, Inc.
The collaboration with Peter Benner and Matthias
Voigt from TU Chemnitz is highly acknowledged.
REFERENCES
Bender, D. J. and Laub, A. J. (1987a). The linear-quadratic
optimal regulator for descriptor systems. IEEE Trans.
Automat. Contr., AC-32(8):672–688.
Bender, D. J. and Laub, A. J. (1987b). The linear-quadratic
optimal regulator for descriptor systems: Discrete-
time case. Automatica, 23(1):71–85.
Benner, P., Byers, R., Losse, P., Mehrmann, V., and
Xu, H. (2007). Numerical solution of real skew-
Hamiltonian/Hamiltonian eigenproblems. Technical
report, Technische Universit¨at Chemnitz, Chemnitz.
Benner, P., Byers, R., Mehrmann, V., and Xu, H. (2002).
Numerical computation of deflating subspaces of
skew Hamiltonian/Hamiltonian pencils. SIAM J. Ma-
trix Anal. Appl., 24(1):165–190.
Lancaster, P. and Rodman, L. (1995). The Algebraic Riccati
Equation. Oxford University Press, Oxford.
Mehrmann, V. (1991). The Autonomous Linear Quadratic
Control Problem. Theory and Numerical Solution,
volume 163 of Lect. Notes in Control and Information
Sciences. Springer-Verlag, Berlin.
Paige, C. and Van Loan, C. F. (1981). A Schur decomposi-
tion for Hamiltonian matrices. Lin. Alg. Appl., 41:11–
32.
Pappas, T., Laub, A. J., and Sandell, N. R. (1980). On
the numerical solution of the discrete-time algebraic
Riccati equation. IEEE Trans. Automat. Contr., AC–
25(4):631–641.
Van Dooren, P. (1981). A generalized eigenvalue approach
for solving Riccati equations. SIAM J. Sci. Stat. Com-
put., 2(2):121–135.
Xu, H. (2006). On equivalence of pencils from discrete-time
and continuous-time control. Lin. Alg. Appl., 414:97–
124.
ICINCO 2010 - 7th International Conference on Informatics in Control, Automation and Robotics
192