comparison DL/RLS-DLA/SMALL_rlsdla.m @ 128:8e660fd14774 ivand_dev

Feature 186
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 13 Jun 2011 14:55:45 +0100
parents 04cce72a4dc8
children 4337e28183f1
comparison
equal deleted inserted replaced
126:db5a7fe1a404 128:8e660fd14774
1 function Dictionary = SMALL_rlsdla(X, params) 1 function [D] = SMALL_rlsdla(X, params)
2 %% Recursive Least Squares Dictionary Learning Algorithm 2 %% Recursive Least Squares Dictionary Learning Algorithm
3 % 3 %
4 % D = SMALL_rlsdla(X, params) - runs RLS-DLA algorithm for 4 % D = SMALL_rlsdla(X, params) - runs RLS-DLA algorithm for
5 % training signals specified as columns of matrix X with parameters 5 % training signals specified as columns of matrix X with parameters
6 % specified in params structure returning the learned dictionary D. 6 % specified in params structure returning the learned dictionary D.
7 % 7 %
198 figure(2); imagesc(dictimg);colormap(gray);axis off; axis image; 198 figure(2); imagesc(dictimg);colormap(gray);axis off; axis image;
199 pause(0.02); 199 pause(0.02);
200 end 200 end
201 end 201 end
202 202
203 Dictionary = D; 203
204 204 end
205 end