From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solve Matrix Equation AX=XB
Date: Wed, 6 Mar 2013 15:39:09 +0000 (UTC)
Organization: Xoran Technologies
Lines: 6
Message-ID: <kh7nut$3rt$>
References: <h16ekh$26u$> <h16fq1$gqn$> <h16jq4$a79$> <jnc5ij$blf$> <kh7jga$hr9$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1362584349 3965 (6 Mar 2013 15:39:09 GMT)
NNTP-Posting-Date: Wed, 6 Mar 2013 15:39:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:790449

"SMK" wrote in message <kh7jga$hr9$>...
> But this method results empty matrix x1 and x2 ana matlab states 
>  Empty matrix: 4-by-0

Probably because there is no solution for your particular input data A,B. If you run with my example data, then you will easily see that it returns a non-empty result.