用Matlab解:X'P+PX = -Q,其中已知X,Q,求P

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/15 16:51:15
用Matlab解:X''P+PX=-Q,其中已知X,Q,求P用Matlab解:X''P+PX=-Q,其中已知X,Q,求P用Matlab解:X''P+PX=-Q,其中已知X,Q,求P数据我随便设了>>X=[1

用Matlab解:X'P+PX = -Q,其中已知X,Q,求P
用Matlab解:X'P+PX = -Q,其中已知X,Q,求P

用Matlab解:X'P+PX = -Q,其中已知X,Q,求P
数据我随便设了
>> X=[1 2 3;4 5 6;7 8 0];
>> Q=-[10 5 4;5 6 7;4 7 9];
>> P=lyap(X,Q)
P=
-3.9444 3.8889 0.3889
3.8889 -2.7778 0.2222
0.3889 0.2222 -0.1111