MaxSize = 1200;
% Timing run ascending for linear solve.
UpTimes = zeros(1,MaxSize);
DownTimes = zeros(1,MaxSize);
UpNum = zeros(1,MaxSize);
DownNum= zeros(1,MaxSize);
for n = 1:MaxSize
	A = rand(n);
	b=rand(1,n);
	tic;
	A/b;
	UpTimes(n)=toc;
	UpNum(n)=n;
end
% Timing run descending for linear solve.
for n = MaxSize:-1:1
        A = rand(n);
        b=rand(1,n);
        tic;
        A/b;
        DownTimes(n)=toc;
        DownNum(n)=n;
end
save '4610Timings' UpTimes DownTimes -ascii -tabs;
loglog(DownNum,DownTimes,UpNum,UpTimes);
