Help CenterHelp Center
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.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
Tiene una versión modificada de este ejemplo. ¿Desea abrir este ejemplo con sus modificaciones?
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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