[931198]: wavelets / private / maxTreeSub.m Maximize Restore History

Download this file

maxTreeSub.m    17 lines (13 with data), 381 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
function a = maxTreeSub(wt)
%MAXTREESUB
% All nodes with at least one final output.
termN = find(noOfNodeOutputs(1:numel(wt.nodes),wt)~=0);
% Range in filter outputs
outRangeTermN = rangeInLocalOutputs(termN,wt);
% Subsampling factors of the terminal nodes
subTermN = nodeSub(termN,wt);
a = [];
for ii=1:numel(termN)
a = [a; subTermN{ii}(outRangeTermN{ii})];
end
a = max(a);