
nRange = linspace(10, 1000, 21);
time = [];

for n=nRange
    
    A = rand(n, n) + n*eye(n);
    
    tic;
    solution_hw5_p1(A);
    time(end+1) = toc;
    
end

loglog(nRange, time);