help-octave
[Top][All Lists]
Advanced

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

octave-speed


From: Rafael Rodríguez Velilla
Subject: octave-speed
Date: Fri, 04 Feb 2005 15:34:51 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Hello all,

  I'm new to octave and I'm planning to use it to simulate DSP algorithms.

Speed is a matter of concern in my simulations. I have made a stupid test to compare octave's performance with Matlab's performance:

m=1:100000;
n=8;
for i=1:99999
  n=sqrt(sqrt(m(i)*m(i+1))*n);
endfor
n

In the same computer it takes 10 seconds to run under linux-octave but less than a second under Matlab.

I have compiled octave 2.1.64 with shared libraries with gcc3.2...
... is there a way to improve its performance?
For example by compiling it with CPPFLAGS=-march=i686???

I have read that maybe using ATLAS improves the performance.

Any hints on how to compile it to run faster?



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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