Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Minor disappointment with Matlab
Date: Tue, 8 Sep 2009 15:35:03 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 3
Message-ID: <h85tj7$gme$1@fred.mathworks.com>
References: <25f0b0e8-fa6b-4283-81eb-d3bfebeb4a97@c37g2000yqi.googlegroups.com> <37a033b3-1375-4593-b673-460ea2713401@x37g2000yqj.googlegroups.com> <h85rum$p3t$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1252424103 17102 172.30.248.35 (8 Sep 2009 15:35:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 8 Sep 2009 15:35:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:569000


Sorry Dan, I misread your post; We agree that the factor 30 is when put cross inside the loop. If you follow more closely the newsgroup, a lot of threads where we discuss about "vectorization" for the very reason you run into. It is critical and difficult - thus required a lot practice I must admit - to design the right code in Matlab so that the speed is not screwed up.

Bruno