Solving matrix equations?

4 次查看(过去 30 天)
There is a matrix equation A1-A2X+XA3-XA4X=0. where, A1,A2,A3,A4 all are [2X2] matrix. Then how to find X which is also a [2X2] matrix?

采纳的回答

Matt J
Matt J 2022-3-15
编辑:Matt J 2022-3-15
You can try fsolve, but you will need a good initial guess, X0.
X=fsolve(@(X) A1-A2*X+X*A3-X*A4*X, X0)
  7 个评论
Kallol Chatterjee
Kallol Chatterjee 2022-3-16
There is no relation between A2 and A3.
Kallol Chatterjee
Kallol Chatterjee 2022-3-16
@Matt J Thanks for helping me. It finds the solution.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Computations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by