view tests/testLstsq.m @ 53:991794ff9544

Measuring elapsed times
author nikcleju
date Thu, 08 Dec 2011 09:43:03 +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