comparison util/SMALL_plot.m @ 77:62f20b91d870

add routines from sparco problems privite folder to {root}\util some changes to ksvd vs rlsdla image denoising example
author Ivan <ivan.damnjanovic@eecs.qmul.ac.uk>
date Fri, 25 Mar 2011 14:01:50 +0000
parents 6521a7c2b93c
children 8e660fd14774
comparison
equal deleted inserted replaced
76:d052ec5b742f 77:62f20b91d870
18 m=size(SMALL.solver,2); 18 m=size(SMALL.solver,2);
19 n=size(SMALL.solver(1).reconstructed,2)+1; 19 n=size(SMALL.solver(1).reconstructed,2)+1;
20 for i =1:m 20 for i =1:m
21 21
22 subplot(m,n, (i-1)*n+1); plot(1:length(SMALL.solver(i).solution), SMALL.solver(i).solution, 'b') 22 subplot(m,n, (i-1)*n+1); plot(1:length(SMALL.solver(i).solution), SMALL.solver(i).solution, 'b')
23 title(sprintf('%s(%s) in %.2f s', SMALL.solver(i).name, SMALL.solver(i).param,SMALL.solver(i).time)) 23 title(sprintf('%s(%s) in %.2f s', SMALL.solver(i).name, SMALL.solver(i).param,SMALL.solver(i).time),'Interpreter','none')
24 xlabel('Coefficient') 24 xlabel('Coefficient')
25 25
26 % Plot reconstructed signal against original 26 % Plot reconstructed signal against original
27 27
28 28