Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to avoid for loops in 3 vector function.
Date: Thu, 5 May 2011 10:22:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <ipttoc$3aq$1@fred.mathworks.com>
References: <ipmluu$l21$1@fred.mathworks.com> <ipph4t$8g9$1@fred.mathworks.com> <ippm7h$8au$1@fred.mathworks.com> <iprc6c$67r$1@fred.mathworks.com> <ipsjrq$ebg$1@fred.mathworks.com> <iptdis$4b3$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1304590924 3418 172.30.248.48 (5 May 2011 10:22:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 May 2011 10:22:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:725326

"Roger Stafford" wrote in message <iptdis$4b3$1@fred.mathworks.com>...
>   Another thought about your code has occurred to me rather belatedly.  Let it be called point #6.  The only thing that changes in the 2000 passes through that second for loop is the value v obtained from V0(i). ........
- - - - - - -
  Please forget about point #6.  I was temporarily forgetting about the constraint imposed by vec2 (even though that was the subject of my point #2 which I believe is still valid.)  That makes every b curve different as i varies, not just a shift of a single curve.

Roger Stafford