Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[191c94]: wavelets / wfbtmanip / treeOutLen.m Maximize Restore History

Download this file

treeOutLen.m    23 lines (11 with data), 429 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
function Lc = treeOutLen(L,doNoExt,wt)
%TREESUB
% All nodes with at least one final output.
termN = find(noOfNodeOutputs(1:numel(wt.nodes),wt)~=0);
% Range in filter outputs
outRange = rangeInLocalOutputs(termN,wt);
cRange = cell2mat(cellfun(@(rEl) rEl(:),rangeInOutputs(termN,wt),...
'UniformOutput',0));
Lctmp = nodeOutLen(termN,L,outRange,doNoExt,wt);
Lc = zeros(size(Lctmp));
Lc(cRange) = Lctmp;