comparison util/SMALL_learn.m @ 108:b14e1f6ee4be ver_1.1

Merge
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Wed, 18 May 2011 11:50:28 +0100
parents f6cc633fd94b
children 5ded5e2e7d07
comparison
equal deleted inserted replaced
107:dab78a3598b6 108:b14e1f6ee4be
93 93
94 %% 94 %%
95 % Dictionary Learning time 95 % Dictionary Learning time
96 tElapsed=toc(tStart); 96 tElapsed=toc(tStart);
97 DL.time = cputime - start; 97 DL.time = cputime - start;
98 fprintf('\n%s finished task in %2f seconds. \n', DL.name, DL.time); 98 fprintf('\n%s finished task in %2f seconds (cpu time). \n', DL.name, DL.time);
99 fprintf('\n%s finished task in %2f seconds. \n', DL.name, tElapsed); 99 fprintf('\n%s finished task in %2f seconds (tic-toc time). \n', DL.name, tElapsed);
100 DL.time=tElapsed; 100 DL.time=tElapsed;
101 % If dictionary is given as a sparse matrix change it to full 101 % If dictionary is given as a sparse matrix change it to full
102 102
103 DL.D = full(D); 103 DL.D = full(D);
104 104