help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: profiler and/or debugger, loops vs vectorization


From: Andy Adler
Subject: Re: profiler and/or debugger, loops vs vectorization
Date: Wed, 5 Jul 2006 12:40:03 -0400 (EDT)

On Wed, 5 Jul 2006, John W. Eaton wrote:

 I'd bet there are even
some people out there who are now writing things like

 xsum = 0.
 for i = 1:n
   xsum = xsum + x(i);
 end

Yes there are. I've seen it. Often.

We ask 4th year elec eng studnets to do their assignemnts
in Matlab, but the only programming we teach them is C in first year.

This is the result.

--
Andy Adler <address@hidden> 1(613)562-5800x6218



reply via email to

[Prev in Thread] Current Thread [Next in Thread]