From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: overdetermenied system
Date: Tue, 13 Jan 2009 14:40:20 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 10
Message-ID: <gki94k$3qh$>
References: <gkhurv$nv1$> <gki4hq$1b9$> <gki6bu$6j$> <gki89q$85e$>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1231857620 3921 (13 Jan 2009 14:40:20 GMT)
NNTP-Posting-Date: Tue, 13 Jan 2009 14:40:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: comp.soft-sys.matlab:511190

"Roger Stafford" <> wrote in message <gki89q$85e$>...

>   I'm not so sure about its efficiency, though, as opposed to 512*384 individual 4x2 backslashes.  The single block diagonal backslash would have to be smart enough not to waste significant overhead time on all the implied zero "off-diagonals".  The solution to a single 4x2 problem should be very fast, especially if one writes it out as an explicit vectorized expression in terms of the four basic arithmetic operations without using matlab's backslash operator itself.


Yes, "\" is smart enough. It is slighly faster than for-loop, see this thread that use the same trick: