Mercurial > hg > mauch-mirex-2010
view _segmentation/nullpart.m @ 9:4ea6619cb3f5 tip
removed log files
author | matthiasm |
---|---|
date | Fri, 11 Apr 2014 15:55:11 +0100 |
parents | b5b38998ef3b |
children |
line wrap: on
line source
function np = nullpart(parts, barlines) nullindices = ones(size(barlines)); for iPart = 1:length(parts) for iIndex = 1:length(parts(iPart).indices) nullindices(parts(iPart).indices(iIndex)+(0:parts(iPart).n-1)) = 0; end end np.n = 1; np.indices = find(nullindices); np.letter = '-'; np.level = 0;