[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matrix multiplication benchmark - Octave vs. Matlab
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Matrix multiplication benchmark - Octave vs. Matlab |
Date: |
Sun, 27 Jul 2003 20:05:04 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
Zdenek Hurak wrote:
....
ver
MATLAB Version 6.5.0.180913a (R13)
A = rand(500,500);
tic, B = A*A; toc,
elapsed_time =
0.7135
octave:13> version
ans = 2.1.36
octave:14> A = rand(500,500);
octave:15> tic, B = A*A; toc,
ans = 8.4542
Ok, let's see what we got here:
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 6.5.0.180913a (R13)
....
>> A=rand(1000,1000);
>> tic, B=A*A; toc
elapsed_time =
1.4388
===============================
address@hidden dima]$ octave
GNU Octave, version 2.1.50 (i686-pc-linux-gnu).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden>.
octave:1> A=rand(1000,1000);
octave:2> tic, B=A*A; toc
ans = 1.0230
octave:3>
:)
(using atlas3.5.3_Linux_ATHLON.tar.bz2 (precompiled) on Athlon XP 2000+)
Best regards,
Zdenek Hurak
Sincerely,
Dmitri.
-------------------------------------------------------------
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
-------------------------------------------------------------