i have run the same matrix multiplication  in both matlab and julia but 
matlab in much faster that julia, i have used both A_mul_B! and *() 
functions
my codes are :
in matlab : 
tic 
a = rand(1000,1000)
a*a
toc
the output is : Elapsed time is 0.193979 seconds

in Julia :
a = rand(1000,1000)
y=similar(a)
@time a*a 
@time A_mul_B!(y,a,a)

the output is:
1.575159 seconds
1.497884  seconds
Majid

Reply via email to