% Solve 5000x5000 system

A = rand(5000); 
b = rand(5000,1);

Tbefore = clock;
tic;
t0 = cputime;

y = A\b;

timetaken = etime(clock,Tbefore); 
tend = toc; 
t1 = cputime - t0;

disp('etime   tic-toc   cputime ')
fprintf('%5.2f %9.2f %9.2f\n\n', timetaken, tend, t1);
