octave-maintainers
[Top][All Lists]
Advanced

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

Octave vs Scilab


From: Fotios Kasolis
Subject: Octave vs Scilab
Date: Wed, 6 Oct 2010 22:55:25 +0200

So I did not manage to reproduce the example which was like 3 times faster but here is another example (not that bad)

Windows 7 with binaries Octave 3.2.4 and Scilab 5.2.2 on intel i7 720

octave.exe:1> xmpl
32.430

->exec('C:\Users\fotios\Desktop\xmpl.sce', -1)
22.411

where xmpl contains the very intelligent code shown below
N = 2000
A = zeros(N,N);
tic();
for i = 1:N
 for j = 1:N
   A(i,j) = i^2 + j^2;
 end
end
time = toc();
disp(time)

Regards
/Fotis


reply via email to

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