clear all
n=2000;
A=randn(n);
B=randn(n);

tic
for i=1:n
    for j=1:n
        C(i,j)=A(i,j)*B(i,j);
    end
end
toc

tic
C=A.*B;
toc

