MATLAB 帮助中心
Cut wavelet packet tree
X = wpcutree(T,L)
[X,RN] = wpcutree(T,L)
X = wpcutree(T,L) cuts the wavelet packet tree T at level L and returns the result.
X
T
L
example
[X,RN] = wpcutree(T,L) returns the indices RN of the reconstructed nodes.
RN
collapse all
Load a signal.
load noisdopp
Obtain the wavelet packet tree corresponding to the wavelet packet decomposition of the signal at level 3. Use the db1 wavelet. Plot the tree.
db1
wpt = wpdec(noisdopp,3,"db1"); plot(wpt)
Cut the wavelet packet tree at level 2. Plot the result.
nwpt = wpcutree(wpt,2); plot(nwpt)
wptree
Wavelet packet tree, specified as a wptree object. The tree corresponds to a one- or two-dimensional wavelet packet decomposition.
Wavelet packet tree level, specified as a nonnegative integer.
Wavelet packet tree, returned as a wptree object.
Tree node indices, returned as a vector.
Introduced before R2006a
wpdec | wpdec2
wpdec
wpdec2
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处