<< One-d Wavelet- and Cosine- Packet Tools One-d Wavelet- and Cosine- Packet Tools CPAnalysis >>

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

BestBasis

Coifman-Wickerhauser Best-Basis Algorithm

Calling Sequence

[btree,vtree] = BestBasis(stree,D)

Parameters

Inputs:

stree :

stat-tree (output by CalcStatTree)

D :

maximum depth of tree-search

Outputs :

btree :

basis-tree of best basis

vtree :

value of components of best basis, vtree(1) holds value of best basis

Description

The best-basis algorithm is used to pick out the ``best'' basis from all the possible bases in the packet table. Here ``best'' means minimizing an additive measure of information, called entropy by Coifman and Wickerhauser.

Once the stattree of entropy values is created, BestBasis selects the best basis using the pruning algorithm described in Wickerhauser's book.

Examples

[n,D] = dyadlength(signal);
qmf = MakeONFilter('Coiflet',3);
wp = WPAnalysis(signal,D,qmf);
stree = CalcStatTree(wp,'Entropy');
[btree,vtree] = BestBasis(stree,D);

See also

Bibliography

Wickerhauser, M.V. Adapted Wavelet Analysis

Authors

<< One-d Wavelet- and Cosine- Packet Tools One-d Wavelet- and Cosine- Packet Tools CPAnalysis >>