lyap
求解连续时间李雅普诺夫方程
说明
使用 lyap 求解李雅普诺夫方程的特殊形式和一般形式。李雅普诺夫方程出现在多个控制领域,包括系统的稳定性理论和均方根 (RMS) 行为研究。
禁用自动缩放。当启用缩放时,该函数会对矩阵进行一种平衡化处理。缩放可以通过压缩数值范围来提高准确度,但有时也会出现相反情况,即当 (A,E) 的缩放效果改善时,反而可能导致 B 的缩放效果变差。X = lyap(___,Scaling="off")
示例
输入参数
输出参量
限制
如果对于所有对组 (i,j),A 的特征值 和 B 的特征值 满足 ,则连续李雅普诺夫方程具有唯一解。
如果违反此条件,lyap 会生成错误消息:
Solution does not exist or is not unique.
算法
lyap 对李雅普诺夫方程使用 SLICOT 例程 SB03MD 和 SG03AD,对西尔维斯特方程使用 SB04MD (SLICOT) 和 ZTRSYL (LAPACK)。
参考
[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 solveA^{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.