diff solvers/SMALL_MP.m @ 22:524cc3fff5ac

(none)
author idamnjanovic
date Tue, 27 Apr 2010 13:32:27 +0000
parents 01cad25206d6
children 8e660fd14774
line wrap: on
line diff
--- a/solvers/SMALL_MP.m	Tue Apr 27 13:31:44 2010 +0000
+++ b/solvers/SMALL_MP.m	Tue Apr 27 13:32:27 2010 +0000
@@ -1,6 +1,15 @@
 function [A]=SMALL_MP(Dict,X, m, maxNumCoef, errorGoal, varargin) 
 %%
-%=============================================
+%
+%   Centre for Digital Music, Queen Mary, University of London.
+%   This file copyright 2009 Ivan Damnjanovic.
+%
+%   This program is free software; you can redistribute it and/or
+%   modify it under the terms of the GNU General Public License as
+%   published by the Free Software Foundation; either version 2 of the
+%   License, or (at your option) any later version.  See the file
+%   COPYING included with this distribution for more information.
+%   
 % Sparse coding of a group of signals based on a given 
 % dictionary and specified number of atoms to use. 
 %  input arguments: Dict - the dictionary
@@ -12,11 +21,7 @@
 % optional:         if Dict is function handle then Transpose Dictionary
 %                   handle needs to be specified.
 %
-% based on KSVD toolbox solver found on Miki Elad webpage (finding inverse
-% with pinv() is changed with matching pursuit)
-% Ivan Damnjanovic 2009
-%=============================================
-%%
+
 %%
 % This Dictionary check is based on Thomas Blumensath work in sparsify 0_4 greedy solvers 
 explicitD=0;