Help CenterHelp Center
Wavelet packet reconstruction 1-D
x = wprec(tobj)
x = wprec(tobj) returns the reconstructed vector x corresponding to the wavelet packet tree object tobj.
x
tobj
example
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.2769e-12
Wavelet packet tree, specified as a wavelet packet tree object. The wprec function assumes that you obtained tobj using wpdec.
wprec
wpdec
Introduced before R2006a
wpdec | wpdec2 | wpjoin | wprec2 | wpsplt | dwpt | idwpt
wpdec2
wpjoin
wprec2
wpsplt
dwpt
idwpt
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office