annotate solvers/my_dummy_solver.m @ 144:19e0af570914 release_1.5

Merge from branch "ivand_dev"
author Ivan <ivan.damnjanovic@eecs.qmul.ac.uk>
date Tue, 26 Jul 2011 15:14:15 +0100
parents 8e660fd14774
children
rev   line source
ivan@128 1 function [A]=my_dummy_solver(Dict,X, m, maxNumCoef, errorGoal, varargin)
ivan@128 2 %% Template function that can be used for solver implementation
ivan@128 3 %
ivan@128 4 % Sparse coding of a group of signals based on a given
ivan@128 5 % dictionary and specified number of atoms to use.
ivan@128 6 %
ivan@128 7 % input arguments: Dict - the dictionary
ivan@128 8 % X - the signals to represent
ivan@128 9 % m - number of atoms in Dictionary
ivan@128 10 % errorGoal - the maximal allowed representation
ivan@128 11 % error for each signal.
ivan@128 12 %
ivan@128 13 % optional: if Dict is function handle then Transpose Dictionary
ivan@128 14 % handle needs to be specified.
ivan@128 15 %
ivan@128 16 % output arguments: A - sparse coefficient matrix.
ivan@128 17
ivan@128 18 %% Change copyright notice as appropriate:
ivan@128 19 % Centre for Digital Music, Queen Mary, University of London.
ivan@128 20 % This file copyright 2009 Ivan Damnjanovic.
ivan@128 21 %
ivan@128 22 % This program is free software; you can redistribute it and/or
ivan@128 23 % modify it under the terms of the GNU General Public License as
ivan@128 24 % published by the Free Software Foundation; either version 2 of the
ivan@128 25 % License, or (at your option) any later version. See the file
ivan@128 26 % COPYING included with this distribution for more information.
ivan@128 27 %%