Specifications

Table Of Contents
lyap
16-135
16lyap
Purpose Solve continuous-time Lyapunov equations
Syntax X = lyap(A,Q)
X = lyap(A,B,C)
Description lyap solves the special and general forms of the Lyapunov matrix equation.
Lyapunov equations arise in several areas of control, includingstability theory
and the study of the RMS behavior of systems.
X = lyap(A,Q) solves the Lyapunov equation
where and are square matrices of identical sizes. The solution
X is a
symmetric matrix if is.
X = lyap(A,B,C) solves the generalized Lyapunov equation (also called
Sylvester equation).
The matrices must have compatible dimensions but need not be
square.
Algorithm lyap transforms the and matrices to complex Schur form, computes the
solution of the resulting triangular system, and transforms this solution back
[1].
Limitations The continuous Lyapunov equation has a (unique) solution if the eigenvalues
of and of satisfy
If this condition is violated,
lyap produces the error message
Solution does not exist or is not unique.
See Also covar Covariance of system response to white noise
dlyap Solve discrete Lyapunov equations
AX XA
T
Q++0=
AQ
Q
AX XB C++ 0=
ABC
,,
AB
α
1
α
2
...
α
n
,,,
A
β
1
β
2
...
β
n
,,,
B
α
i
β
j
0
+ for all pairs ij
,()