MATLAB 帮助中心
Reconstruct wavelet packet coefficients
X = wprcoef(T)
X = wprcoef(T,N)
X = wprcoef(T) reconstructs coefficients of the node 0 of the wavelet packet tree T.
T
0
wprcoef is a one- or two-dimensional wavelet packet analysis function.
wprcoef
X = wprcoef(T,N) reconstructs coefficients of the node N of the wavelet packet tree T.
X
N
example
collapse all
Load and plot a signal.
load noisdopp plot(noisdopp) title("Original Signal")
Decompose the original signals at depth 3 with db1 wavelet packets using Shannon entropy. To handle the problem of border distortion, the wpdec function uses zero padding as the extension mode. For more information, see dwtmode.
db1
wpdec
dwtmode
T = wpdec(noisdopp,3,"db1","shannon");
Plot the wavelet packet tree.
plot(T)
Reconstruct the packet at node (2,1).
X = wprcoef(T,[2 1]);
Plot the reconstructed packet.
plot(X) title("Reconstructed Packet (2,1)")
wptree
Wavelet packet tree, specified as a wptree object.
Node in the wavelet packet tree T, specified as a nonnegative integer or as a pair of nonnegative integers.
Reconstructed coefficients of the wavelet packet, returned as a row vector.
Introduced before R2006a
wpdec | wpdec2 | wprec | wprec2
wpdec2
wprec
wprec2
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处