Solving matrix equations?

4 visualizzazioni (ultimi 30 giorni)
Kallol Chatterjee
Kallol Chatterjee il 15 Mar 2022
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?

Risposta accettata

Matt J
Matt J il 15 Mar 2022
Modificato: Matt J il 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 Commenti
Kallol Chatterjee
Kallol Chatterjee il 16 Mar 2022
There is no relation between A2 and A3.
Kallol Chatterjee
Kallol Chatterjee il 16 Mar 2022
@Matt J Thanks for helping me. It finds the solution.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Matrix Computations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by