annotate util/classes/@dictionary/plotcumcoherence.m @ 160:e3035d45d014 danieleb

Added support classes
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Wed, 31 Aug 2011 10:53:10 +0100
parents
children 68fb71aa5339
rev   line source
daniele@160 1 function plotcumcoherence(obj)
daniele@160 2 mu = cumcoherence(obj);
daniele@160 3 v = conv(mu,[1 1]);
daniele@160 4 ind = find(v<1, 1, 'last');
daniele@160 5 plot(1:obj.len,mu);
daniele@160 6 hold on
daniele@160 7 line([ind ind], [min(mu) max(mu)],'Color','red');
daniele@160 8 title(['Minimum allowed sparsity (Tanner):' num2str(ind/obj.len)]);
daniele@160 9 grid on
daniele@160 10 end