# HG changeset patch # User idamnjanovic # Date 1269254581 0 # Node ID f44689e95ea4bbb1f3a8ebc7ce8fbd24d353592f # Parent 2d7d8736ce6c3f077cdcb289415145a39bdb2b15 diff -r 2d7d8736ce6c -r f44689e95ea4 examples/SMALL_solver_test_Audio.m --- a/examples/SMALL_solver_test_Audio.m Mon Mar 22 10:42:47 2010 +0000 +++ b/examples/SMALL_solver_test_Audio.m Mon Mar 22 10:43:01 2010 +0000 @@ -51,39 +51,40 @@ SMALL.Problem = generateProblem(402,'show'); %% +i=1; %% % SMALL Conjugate Gradient test -SMALL.solver.toolbox='SMALL'; -SMALL.solver.name='SMALL_cgp'; +SMALL.solver(i)=SMALL_init_solver; +SMALL.solver(i).toolbox='SMALL'; +SMALL.solver(i).name='SMALL_cgp'; % In the following string all parameters except matrix, measurement vector % and size of solution need to be specified. If you are not sure which % parameters are needed for particular solver type "help " in % MATLAB command line -SMALL.solver.param='1500, 1e-14'; +SMALL.solver(i).param='1500, 1e-14'; -SMALL=SMALL_solve(SMALL); +SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i)); -SMALL_plot(SMALL); -SMALL_playAudio(SMALL); - +i=i+1; %% % SolveOMP from SparseLab test -SMALL.solver.toolbox='SparseLab'; -SMALL.solver.name='SolveBP'; +SMALL.solver(i)=SMALL_init_solver; +SMALL.solver(i).toolbox='SparseLab'; +SMALL.solver(i).name='SolveBP'; % In the following string all parameters except matrix, measurement vector % and size of solution need to be specified. If you are not sure which % parameters are needed for particular solver type "help " in % MATLAB command line -SMALL.solver.param='10'; +SMALL.solver(i).param='10'; -SMALL=SMALL_solve(SMALL); +SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i)); SMALL_plot(SMALL); SMALL_playAudio(SMALL);