Differences in Matlab/Octave processing time

Dmitri A. Sergatskov dasergatskov at gmail.com
Fri May 30 11:04:52 CDT 2008


On Thu, May 29, 2008 at 10:50 AM, HempyElmo <hempyelmo at hotmail.com> wrote:
>
> Hi,
>
> I've got a Matlab code which I want to run on Octave. With Matlab this
> program takes about 5 minutes under Windows XP on a Intel Pentium 4 2.4 GHz
> to make an output .mat. With Octave on the same computer, it took ages...
> maybe 30 times more processing time. Same thing happens for Octave with the
> same version (2.9.15) on a Linux machine (Intel Xeon 2.8 GHz). Is anybody
> have a reason why? Is it because of Octave or the code itself?
>
> The code reproduce a particle in cells simulation. I don't know how many
> loops it makes.
>

It is always a good idea to read FAQ prior to posting. Please read:

http://www.gnu.org/software/octave/FAQ.html

In particular,  note section 10 "Porting programs from Matlab to Octave"

Regards,

Dmitri.
--


More information about the Help-octave mailing list