Path: news.mathworks.com!not-for-mail
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$1@newscl01ah.mathworks.com>
References: <h16ekh$26u$1@fred.mathworks.com> <h16fq1$gqn$1@fred.mathworks.com> <h16jq4$a79$1@fred.mathworks.com> <jnc5ij$blf$1@newscl01ah.mathworks.com> <kh7jga$hr9$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1362584349 3965 172.30.248.46 (6 Mar 2013 15:39:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 6 Mar 2013 15:39:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:790449

"SMK" wrote in message <kh7jga$hr9$1@newscl01ah.mathworks.com>...
>
> 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.