在MATLAB中找到未知矩阵的所有元素?
我有一个4x4矩阵,我必须求解这个lyapnov方程,并找到满足以下方程的未知矩阵。
a = [0 1 0 0;0 0 -1 0;0 0 0 1;0 0 5 0];
f = [-1 1 0 0;-1 -1 0 0;0 0 -1.5 0.5;0 0 -0.5 -1.5];
b = [0;1;0;-2];
k = [1 0 1 0];
给出了方程式a t -tf = b k。
a*t - t*f = b*k ;
其中t = 4x4未知矩阵。您能帮我找到矩阵 t 吗?
I have a 4x4 matrix given and I have to solve this lyapnov equation and find the unknown matrix which satisfies the below equation .
a = [0 1 0 0;0 0 -1 0;0 0 0 1;0 0 5 0];
f = [-1 1 0 0;-1 -1 0 0;0 0 -1.5 0.5;0 0 -0.5 -1.5];
b = [0;1;0;-2];
k = [1 0 1 0];
The equation is given at - tf = bk.
a*t - t*f = b*k ;
where t = 4x4 unknown matrix . Can you help me find matrix t ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您也可以使用符号数学来创建线性方程系统,然后解决此系统:
You could also use symbolic math to create a system of linear equation and then solve this system:
您应该知道矩阵
f
是可逆的,我们可以使用dlyap
,例如以下或更简单的
来
验证这一点
You should be aware that matrix
f
is invertable, we can usedlyap
like belowor a simpler one
which gives
To verify this