Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: "Linus Utopia" <linus_utopia@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to vectorize and avoid this for loop to speed up?
Date: Thu, 26 Jul 2007 07:29:04 -0400
Lines: 12
Message-ID: <f8a0m2$62e$1@news.Stanford.EDU>
References: <f86ief$f4n$1@news.Stanford.EDU> <f89499$aul$1@fred.mathworks.com>
X-Trace: news.Stanford.EDU 1185449474 6222 127.0.0.1 (26 Jul 2007 11:31:14 GMT)
X-Complaints-To: news@news.stanford.edu
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Xref: news.mathworks.com comp.soft-sys.matlab:421174




"last) (first then" <nospam@nospamplease.com> wrote in message 
news:f89499$aul$1@fred.mathworks.com...
> Looks like you oughta do element by element matrix multiplication ...
>
> .* a couple of n x m matrices together to create another n x m matrix.

Sure I know how to do this. But how to do this efficiently.
That's what I want to learn... If I don't keep learning creative things, I 
will be sticking to my naive implementation with no improvment.