Mercurial > hg > smallbox
view util/classes/@dictionary/plotcumcoherence.m @ 166:1495bdfa13e9 danieleb
Updated grassmanian function (restored old computation of the dictionary) and added functions to the audio class
author | Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk> |
---|---|
date | Mon, 19 Sep 2011 14:53:23 +0100 |
parents | e3035d45d014 |
children | 68fb71aa5339 |
line wrap: on
line source
function plotcumcoherence(obj) mu = cumcoherence(obj); v = conv(mu,[1 1]); ind = find(v<1, 1, 'last'); plot(1:obj.len,mu); hold on line([ind ind], [min(mu) max(mu)],'Color','red'); title(['Minimum allowed sparsity (Tanner):' num2str(ind/obj.len)]); grid on end