How I can solve AX+XB=0

Hello, How I am able to solve the expression AX+XB=0, where A and B are known 2x2 non-singular matrices and have to find X such that X = [x11 x12;x21 x22]. As far as I understand it is form of Sylvester Equation but by applying methods to solve it my only solution is zero but I want to reach at my expected solution.
Best Regards, SMK

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 24 Jan 2013

0 votes

Your equation can be written as
C*x=0 with a column vector x=[x11;x12;x21;x222]

More Answers (1)

belong to Ker(C). You can use (U,S,V)=svd(C) and then find V(:,i) corresponding to zero singular values in matrix S (for example, last singular value)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!