view tests/testLstsq.m @ 64:a115c982a0fd

Fixed bug in GAP: Lambdahat might get empty after row removing; in this case should stop and return current solution, otherwise it will raise an exception next time you try to remove rows
author Nic Cleju <nikcleju@gmail.com>
date Tue, 13 Mar 2012 16:18:11 +0200
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