lyap
R2026bSolve continuous-time Lyapunov equation
Description
Use lyap to solve the special and general forms of the
Lyapunov equation. Lyapunov equations arise in several areas of control, including stability
theory and the study of the root mean square (RMS) behavior of systems.
disables automatic scaling. When scaling is enabled, the function does a form of balancing
for matrices. Scaling can improve accuracy by compressing the numerical range but can
sometimes make things worse when better scaling for
(A,E) results in worse scaling for
B.X = lyap(___,Scaling="off")
Examples
Input Arguments
Output Arguments
Limitations
The continuous Lyapunov equation has a unique solution if the eigenvalues of A and of B satisfy for all pairs (i,j).
If this condition is violated, lyap produces the error
message:
Solution does not exist or is not unique.
References
[1] Bartels, R. H., and G. W. Stewart. “Algorithm 432 [C2]: Solution of the Matrix Equation AX + XB = C [F4].” Communications of the ACM 15, no. 9 (September 1972): 820–26. https://doi.org/10.1145/361573.361582.
[2] Barraud, A. “A Numerical Algorithm to solve A^{T}XA - X = Q.” IEEE Transactions on Automatic Control 22, no. 5 (October 1977): 883–85. https://doi.org/10.1109/TAC.1977.1101604.
[3] Hammarling, S. J. “Numerical Solution of the Stable, Non-Negative Definite Lyapunov Equation Lyapunov Equation.” IMA Journal of Numerical Analysis 2, no. 3 (1982): 303–23. https://doi.org/10.1093/imanum/2.3.303.
[4] Penzl, Thilo. “Numerical Solution of Generalized Lyapunov Equations.” Advances in Computational Mathematics 8, no. 1 (January 1, 1998): 33–48. https://doi.org/10.1023/A:1018979826766.
[5] Golub, G., S. Nash, and C. Van Loan. “A Hessenberg-Schur Method for the Problem AX + XB= C.” IEEE Transactions on Automatic Control 24, no. 6 (December 1979): 909–13. https://doi.org/10.1109/TAC.1979.1102170.