% time01 - First example 
%
% This example can be used to demonstrate the
% use of multiple cores


% N = 10
% N = 100
N = 1200
M = 12
tic
for loop = 1:M
    A = rand(N);
    B = rand(N);
    C = A*B - B*A;
end
toc
fprintf('%12.4e fmults %12.4e fadds\n',M*(2*N^3),M*(2*N^3+N^2))
if N < 20
    C
else
    UR = C(1,N)
    LL = C(N,1)
end
