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

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

CPSynthesis

Synthesize signal from cosine packet table

Calling Sequence

x = CPSynthesis(btree,cp,bell)

Parameters

Inputs:

btree:

basis tree indicating basis to work in

cp :

cosine packet table

bell :

name of orthonormal bell, defaults to 'Sine'

Outputs:

x :

signal whose cosine packet coeff's in basis btree come from cp

Examples

[n,D] = dyadlength(signal);
cp = CPAnalysis(signal,D);
stree = CalcStatTree(cp,'Entropy');
[btree,vtree] = BestBasis(stree,D);
signal2 = CPSynthesis(btree,cp); % signal == signal2

See also

Authors

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