annotate tests/testmatlab.m @ 39:0ff08ae833be
utils.py:
Mark the areas with less than 10% error in the figures.
Joined loadsavematrices() and loadshowmatrices() together in the same function loadmatrices()
author |
nikcleju |
date |
Fri, 18 Nov 2011 15:12:34 +0000 |
parents |
9079a9f7c4cf |
children |
|
rev |
line source |
nikcleju@7
|
1 disp('Eig');tic;data=rand(500,500);eig(data);toc;
|
nikcleju@7
|
2 disp('Svd');tic;data=rand(1000,1000);[u,s,v]=svd(data);s=svd(data);toc;
|
nikcleju@7
|
3 disp('Inv');tic;data=rand(1000,1000);result=inv(data);toc;
|
nikcleju@7
|
4 disp('Det');tic;data=rand(1000,1000);result=det(data);toc;
|
nikcleju@7
|
5 disp('Dot');tic;a=rand(1000,1000);b=inv(a);result=a*b-eye(1000);toc;
|
nikcleju@7
|
6 disp('Done');
|