function Times=VecExp(n,m);
%VECEXP--Vectorization experiment
%
%Times=VecExp(n,m);
%
%

for k=1:length(n);
    avg=[0 0 0];
    a=rand(n(k),1);
    t=rand(n(k),1);
    x=zeros(n(k),1);
    for j=1:m;
        tic;
        x=TwoLoop(a,t);
        avg(1)=avg(1)+toc;
        
        tic;
        x=OneLoop(a,t);
        avg(2)=avg(2)+toc;
        
        tic;
        x=NoLoop(a,t);
        avg(3)=avg(3)+toc;
    end;
    Times(k,:)=avg/m;
end