Wavelet packet reconstruction 1-D
x = wprec(tobj)
example
x = wprec(tobj) returns the reconstructed vector x corresponding to the wavelet packet tree object tobj.
x
tobj
collapse all
Load a signal.
load noisdopp x = noisdopp;
Decompose the signal at level 3 with sym4 wavelet packets using log energy entropy.
sym4
wpt = wpdec(x,3,'sym4','log energy');
Reconstruct the signal from the wavelet packet tree object.
xrec = wprec(wpt);
Compare the original signal with the reconstruction.
max(abs(xrec-x))
ans = 8.2778e-12
Wavelet packet tree, specified as a wavelet packet tree object. The wprec function assumes that you obtained tobj using wpdec.
wprec
wpdec
dwpt | idwpt | wpdec | wpdec2 | wpjoin | wprec2 | wpsplt
dwpt
idwpt
wpdec2
wpjoin
wprec2
wpsplt
You have a modified version of this example. Do you want to open this example with your edits?