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
wpdec | wpdec2 | wpjoin | wprec2 | wpsplt | dwpt | idwpt
wpdec2
wpjoin
wprec2
wpsplt
dwpt
idwpt
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
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