annotate tests/testLstsq.m @ 5:4a4e5204ecf5

Added Least squares time test
author nikcleju
date Sat, 05 Nov 2011 10:21:46 +0000
parents
children 64fbc37c8c06
rev   line source
nikcleju@5 1 % test how much time solving a system takes in Matlab
nikcleju@5 2
nikcleju@5 3 clear all
nikcleju@5 4 close all
nikcleju@5 5
nikcleju@5 6 load testLstsq
nikcleju@5 7
nikcleju@5 8 tic
nikcleju@5 9 for i = 1:nruns
nikcleju@5 10 A \ b;
nikcleju@5 11 end
nikcleju@5 12 toc