<< CalcStatTree One-d Wavelet- and Cosine- Packet Tools CalcWPLocation >>

Wavelab Toolbox >> Wavelab Toolbox > One-d Wavelet- and Cosine- Packet Tools > CalcTreeHeight

CalcTreeHeight

Measure the total height of a stat-tree

Calling Sequence

[maxheight, cost] = CalcTreeHeight(stree,D)

Parameters

Inputs:

stree:

stat tree (e.g. generated by CalcStatTree)

D :

maximum depth of search

Outputs:

maxheight:

Height of the tree, assigning to each branch a length, equal to the entropy drop between parent and child

cost :

Tree of entropy drops associated with various splits

Description

This is a utility used by PlotBasisTree to set scale for plotting It is not intended for other use.

See also

Authors

<< CalcStatTree One-d Wavelet- and Cosine- Packet Tools CalcWPLocation >>