Mercurial > hg > smallbox
diff solvers/SMALL_chol.m @ 129:5a6cef81227e
Merge from branch "ivand_dev"
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Mon, 13 Jun 2011 14:58:00 +0100 |
parents | 8e660fd14774 |
children |
line wrap: on
line diff
--- a/solvers/SMALL_chol.m Wed May 25 15:34:37 2011 +0100 +++ b/solvers/SMALL_chol.m Mon Jun 13 14:58:00 2011 +0100 @@ -1,5 +1,19 @@ function [A]=SMALL_chol(Dict,X, m, maxNumCoef, errorGoal, varargin) -%% +%% Implementation of OMP with Cholesky factorisation +% Sparse coding of a group of signals based on a given +% dictionary and specified number of atoms to use. +% input arguments: Dict - the dictionary +% X - the signals to represent +% m - number of atoms in Dictionary +% errorGoal - the maximal allowed representation error for +% each signal. +% +% optional: if Dict is function handle then Transpose Dictionary +% handle needs to be specified. +% +% output arguments: A - sparse coefficient matrix. +% + % % Centre for Digital Music, Queen Mary, University of London. % This file copyright 2009 Ivan Damnjanovic. @@ -10,19 +24,6 @@ % 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 -% X - the signals to represent -% m - number of atoms in Dictionary -% errorGoal - the maximal allowed representation error for -% each signal. -% -% optional: if Dict is function handle then Transpose Dictionary -% handle needs to be specified. -% -% output arguments: A - sparse coefficient matrix. -% %% % This Dictionary check is based on Thomas Blumensath work in sparsify 0_4 greedy solvers explicitD=0;