Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: avoiding loops to built a z matrix of the most efficient form
Date: Wed, 25 Mar 2009 16:34:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gqdmdp$r73$1@fred.mathworks.com>
References: <gqdj93$qa4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1237998841 27875 172.30.248.37 (25 Mar 2009 16:34:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 25 Mar 2009 16:34:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:527659

"Jose " <jose.l.vega@gmail.com> wrote in message <gqdj93$qa4$1@fred.mathworks.com>...
> Hello us, and everyone.
> us showed me how develop a  matrix z
> avoiding loops....but....I felt really surprised how the algorithm with loops
> still run faster than the algorithm using a arrayfunction (without lopps).
> .......

  Jose, have you tried out the solution I sent you in the thread "Built a matrix z(3x2) avoiding loops" at

 http://www.mathworks.com/matlabcentral/newsreader/view_thread/247361

which appears to be related to the question in this thread?  If so, how well did it perform timewise as against a for-loop method?

Roger Stafford