From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solve Matrix Equation AX=XB
Date: Mon, 15 Jun 2009 21:52:01 +0000 (UTC)
Organization: Xoran Technologies
Lines: 10
Message-ID: <h16fq1$gqn$>
References: <h16ekh$26u$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1245102721 17239 (15 Jun 2009 21:52:01 GMT)
NNTP-Posting-Date: Mon, 15 Jun 2009 21:52:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:547704

"Laoji Zhou" <> wrote in message <h16ekh$26u$>...
> Do you know how to solve matrix equation AX=XB?

You could re-organize it into the form


and solve for x=X(:) as with typical linear equations.

But what kind of solution could you be looking for? Clearly, the trivial solution is the only solution if G is non-singular. If G is singular, you have a space of solutions, so what form would the solution take in that case?