Path: news.mathworks.com!not-for-mail
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$1@fred.mathworks.com>
References: <h16ekh$26u$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245102721 17239 172.30.248.38 (15 Jun 2009 21:52:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 15 Jun 2009 21:52:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:547704

"Laoji Zhou" <laoji@yahoo.com> wrote in message <h16ekh$26u$1@fred.mathworks.com>...
> Do you know how to solve matrix equation AX=XB?

You could re-organize it into the form

G*x=0

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?