view tests/testLstsq.m @ 18:a8ff9a881d2f

GAP test almost working. For some data the results are not the same because of representation error, so the test doesn't fully work for now. But the results seem to be accurate.
author nikcleju
date Mon, 07 Nov 2011 17:48:05 +0000
parents 64fbc37c8c06
children
line wrap: on
line source
% test how much time solving a system takes in Matlab

clear all
close all

load testLstsq

tic
for i = 1:nruns
    %A \ b;
    svd(A);
end
toc