[Fwd: compare the executive speed with Matlab]

Howard shj1130 at pchome.com.tw
Sun Jan 4 15:34:33 CST 2009


Hi Michael,

Thanks for your time.

For testing non-loop code, I created a simple code with repeating 1000
'a=1', as you can see from the attached file. However, I still got the
result as below:

Octave on Windows
Elapsed time is 0.005150 seconds.

Matlab on Windows
Elapsed time is 0.000011 seconds.

Octave on Ubuntu Linux
Elapsed time is 0.004730 seconds.

The reason I raised this issue because I will check any problem with the
installation or configuration if Octave must be faster than Matlab.

No offence, I'm just wondering the executive time compared with Matlab.
I appreciate the open source software and will keep it.

Best regards,

Howard




於 六,2009-01-03 於 19:36 +0000,Michael Goffioul 提到:
> 2 of your examples use for-loops. Octave if known to be
> slower than Matlab with for-loops and it has been repeated
> at many occasions. No wonder about the timing difference.
> For the 3rd one, I'm not sure, it might be related to the
> implementation of normcdf function.
> 
> Michael.
> 
> 
> On Sat, Jan 3, 2009 at 5:42 PM, Howard <shj1130 at pchome.com.tw> wrote:
> > Sorry, I forgot to attach the files
> >
> > Howard
> >
> >
> > ---------- Forwarded message ----------
> > From: Howard <shj1130 at pchome.com.tw>
> > To: help at octave.org
> > Date: Thu, 01 Jan 2009 18:48:10 +0000
> > Subject: compare the executive speed with Matlab
> > Hi Octave,
> >
> > I am a new user with Octave 3.0.3. It is very much appreciated of this
> > good software.
> >
> > I'm wondering the executive speed compared with Matlab. I found Octave's
> > executive time is 10 times slower than Matlab on Windows. (I also try
> > Octave on Linux, but it is still slower than Matlab on Windows) Some
> > People discussed this issue on a forum. They said it is because Octave
> > is not good at Loop code. However, even though I run non-loop code on
> > Octave and Matlab. Octave's executive time is still much slower than
> > Matlab.
> >
> > Do you think it is normal that Octave's executive speed slower than
> > Matlab? or it is my configuration's problem?
> >
> > Thanks for your time
> >
> > Best regards,
> >
> > Howard Su
> >
> > _______________________________________________
> > Help-octave mailing list
> > Help-octave at octave.org
> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> >
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.m
Type: text/x-matlab
Size: 5025 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090104/cc1c5ab2/attachment.bin 


More information about the Help-octave mailing list