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?

 Accepted Answer

Matt J
Matt J on 15 Mar 2022
Edited: Matt J on 15 Mar 2022
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 Comments

Any classification of the equation possible (e.g. Riccati) ?
I guess: no, but perhaps someone else has more experience.
It does look like an algebraic Riccati equation to me. It is usually encountered in the time-invariant Linear-Quadratic Regulator (LQR) problem.
Conventionally, it can be solved through the matrix decomposition procedure called Schur, named after a Russian mathematician.
Can also try solving the matrix equation using the LMI Solver (a very powerful and versatile tool for solving a number of problems). But the formulation part can be quite tricky and frustrating is the matrices are very large.
Torsten
Torsten on 15 Mar 2022
Edited: Torsten on 15 Mar 2022
Since A2 is not equal to -A3.', I couldn't bring it into the Riccati form MATLAB's idare expects.
Do you have a suggestion ?
Ah! I have forgotten there were care and dare in the olden days.
Let's wait for @Kallol Chatterjee to clarify if .
The Problem is not a Riccati equation type. Actually on the system equation there is no condition of symetricity. I am converting the system into slow and fast response. For that I need to change the coordinate transformation. To solve this transformation I need this solution.
There is no relation between A2 and A3.
@Matt J Thanks for helping me. It finds the solution.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!