Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to solve XA + B = 0?
Date: Thu, 2 Jul 2009 16:54:02 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 18
Message-ID: <h2iona$qaq$1@fred.mathworks.com>
References: <h2ink4$acj$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
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 1246553642 26970 172.30.248.38 (2 Jul 2009 16:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Jul 2009 16:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:552449


"Tao Shen" <tshen@mathworks.com> wrote in message <h2ink4$acj$1@fred.mathworks.com>...
> Hello all,
> 
> I need to solve a equation which is XA + B =0. It is a least squares 
> problem.
> 
> The X is a 2*N matrix, A is N*2, and B is 2*2. Because A is N*2, it seems we 
> can't find its right inverse matrix but only left inverse matrix. However it 
> is not useful in this case.
> 
> Is there any method to solve this problem?
> 
> Thanks in advance! 
> 

"/" (mrdivide) operator does just that.

Bruno