n = 1e8; x = rand(n,1); y = rand(n,1);
res = zeros(n,1);
tic;
for j = 1:n 
    res(j) = x(j)*y(j); 
end
toc
tic; 
res2 = x.*y; 
toc