changeset 173:7426503fc4d1 danieleb

added ramirez_dl dictionary learning case
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Thu, 17 Nov 2011 11:15:02 +0000
parents 9c41f87dead7
children dc2f0fa21310
files util/SMALL_learn.m
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/SMALL_learn.m	Thu Nov 17 11:14:23 2011 +0000
+++ b/util/SMALL_learn.m	Thu Nov 17 11:15:02 2011 +0000
@@ -82,6 +82,10 @@
         DL.D(:,i)=DL.D(:,i)/norm(DL.D(:,i));
     end
     D = DL.D; 
+
+elseif strcmpi(DL.toolbox,'dl_ramirez')
+	DL = dl_ramirez(Problem,DL);
+	D = normcol(DL.D);
     
 %   To introduce new dictionary learning technique put the files in
 %   your Matlab path. Next, unique name <TolboxID> for your toolbox needs 
@@ -119,4 +123,4 @@
   DL.D = full(D);
   
 end
-  
\ No newline at end of file
+