diff tests/testLstsq.m @ 5:4a4e5204ecf5

Added Least squares time test
author nikcleju
date Sat, 05 Nov 2011 10:21:46 +0000
parents
children 64fbc37c8c06
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/testLstsq.m	Sat Nov 05 10:21:46 2011 +0000
@@ -0,0 +1,12 @@
+% test how much time solving a system takes in Matlab
+
+clear all
+close all
+
+load testLstsq
+
+tic
+for i = 1:nruns
+    A \ b;
+end
+toc
\ No newline at end of file