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$>
References: <gqdj93$qa4$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1237998841 27875 (25 Mar 2009 16:34:01 GMT)
NNTP-Posting-Date: Wed, 25 Mar 2009 16:34:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:527659

"Jose " <> wrote in message <gqdj93$qa4$>...
> 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

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