%  compare_mult_speed_1.m
% C, Bishop 1-23-2023
% compare   speeds for martrix multiplication 
function test1(n) 

A=rand(n);
B=rand(n);
tic;
C=A*B;
time1=toc
tic;
C=zeros(n);
for k=1:n
    for j=1:n
        for m=1:n
            C(k,j) =C(k,j)+A(k,m)*B(m,j);
        end % for m
    end % for j
end % for k
time2=toc
