Mercurial > hg > pycsalgos
view tests/testmatlab.m @ 51:eb4c66488ddf
Split algos.py and stdparams.py, added nesta to std1, 2, 3, 4
author | nikcleju |
---|---|
date | Wed, 07 Dec 2011 12:44:19 +0000 |
parents | 9079a9f7c4cf |
children |
line wrap: on
line source
disp('Eig');tic;data=rand(500,500);eig(data);toc; disp('Svd');tic;data=rand(1000,1000);[u,s,v]=svd(data);s=svd(data);toc; disp('Inv');tic;data=rand(1000,1000);result=inv(data);toc; disp('Det');tic;data=rand(1000,1000);result=det(data);toc; disp('Dot');tic;a=rand(1000,1000);b=inv(a);result=a*b-eye(1000);toc; disp('Done');