help-octave
[Top][All Lists]
Advanced

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

Re: octave vs. matlab vectorization


From: James Sherman Jr.
Subject: Re: octave vs. matlab vectorization
Date: Mon, 14 Sep 2009 13:43:54 -0400

>ah, no! code 1 was *faster* under matlab! the ratio is 0.19:1
>
>i find this result quite staggering.

I ran those two codes with the matlab I have on my laptop (7.7.0.471 R2008b) and got 16.9 for the for loops code and 3.54 for the vectorized code.

I don't know why there would be such a discrepancy.  This may sound dumb, but are you sure you didn't confuse the two times?

reply via email to

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