Mercurial > hg > smallbox
comparison examples/SMALL_solver_test.m @ 25:cbf3521c25eb
(none)
author | idamnjanovic |
---|---|
date | Tue, 27 Apr 2010 13:33:13 +0000 |
parents | ce03373b3761 |
children | 83de4ea524df |
comparison
equal
deleted
inserted
replaced
24:fc395272d53e | 25:cbf3521c25eb |
---|---|
1 function SMALL_solver_test | 1 function SMALL_solver_test |
2 % Example test of solvers from different toolboxes on Sparco compressed | 2 % Example test of solvers from different toolboxes on Sparco compressed |
3 % sensing problems | 3 % sensing problems |
4 % | 4 % |
5 % | |
6 % Centre for Digital Music, Queen Mary, University of London. | |
7 % This file copyright 2009 Ivan Damnjanovic. | |
8 % | |
9 % This program is free software; you can redistribute it and/or | |
10 % modify it under the terms of the GNU General Public License as | |
11 % published by the Free Software Foundation; either version 2 of the | |
12 % License, or (at your option) any later version. See the file | |
13 % COPYING included with this distribution for more information. | |
14 % | |
5 % The main purpose of this example is to show how to use SMALL structure | 15 % The main purpose of this example is to show how to use SMALL structure |
6 % to solve SPARCO compressed sensing problems (1-11) and compare results | 16 % to solve SPARCO compressed sensing problems (1-11) and compare results |
7 % from different solvers. | 17 % from different solvers. |
8 % To generate SMALL.Problem part of structure you can use generateProblem | 18 % To generate SMALL.Problem part of structure you can use generateProblem |
9 % function from Sparco toolbox giving the problem number and any | 19 % function from Sparco toolbox giving the problem number and any |
38 % SolveOMP form SparseLab and greed_pcgp form Sparsify against "PROB006 | 48 % SolveOMP form SparseLab and greed_pcgp form Sparsify against "PROB006 |
39 % Daubechies basis, Gaussian ensemble measurement basis, piecewise cubic | 49 % Daubechies basis, Gaussian ensemble measurement basis, piecewise cubic |
40 % polynomial signal" from Sparco. | 50 % polynomial signal" from Sparco. |
41 % | 51 % |
42 % | 52 % |
43 % Ivan Damnjanovic 2009% | 53 |
44 % | 54 |
45 % SPARCO Copyright 2008, Ewout van den Berg and Michael P. Friedlander | |
46 % http://www.cs.ubc.ca/labs/scl/sparco | |
47 % $Id: exGPSR.m 1040 2008-06-26 20:29:02Z ewout78 $ | |
48 | 55 |
49 fprintf('\n\nExample test of SMALL solvers against their counterparts on Sparco problems.\n\n'); | 56 fprintf('\n\nExample test of SMALL solvers against their counterparts on Sparco problems.\n\n'); |
50 | 57 |
51 %% | 58 %% |
52 % Generate SPARCO problem | 59 % Generate SPARCO problem |