|
From: | Dmitri A. Sergatskov |
Subject: | Re: octave vs. matlab speed |
Date: | Wed, 9 Aug 2006 21:34:59 -0600 |
On 8/9/06, Robert Uang <address@hidden> wrote:
Hi, I have just discovered octave recently and I am thrilled about it mainly for two reasons - 1. it is similar to Matlab code, and 2. it is absolutely free! However, running the same procedure in Matlab is 100x faster than running in Octave. Can you comment on why this is so, and if there are any general rules of thumb to help speed up simulation time?
Short answer: Do not use loops. Long answer: Well -- it is too long. The question comes up on these mailing lists all the time (I think the earliest I found was circa 1995 ...). Google for "octave matlab speed site:octave.org" will give you few hits for starters...
Thanks, Robert
Regards, Dmitri. --
[Prev in Thread] | Current Thread | [Next in Thread] |