disp
WPTREE
information
Syntax
Description
Examples
Examine Wavelet Packet Tree Contents
Create a wavelet packet tree.
x = randn(1,1000);
t = wpdec(x,3,"db2");
Merge the nodes with indices 3 and 5. Plot the modified tree.
t = nodejoin(t,3); t = nodejoin(t,5); fig = plot(t);
Programmatically, in Node Label, change the selected item from Depth_Position
to Index
.
plot(t,"setNodeLabel",fig,"Index")
Display the contents of the modified tree.
disp(t)
Wavelet Packet Object Structure =============================== Size of initial data : [1 1000] Order : 2 Depth : 3 Terminal nodes : [3 9 10 5 13 14] ------------------------------------------------ Wavelet Name :db2 Low Decomposition filter :[-0.1294 0.2241 0.8365 0.483] High Decomposition filter :[ -0.483 0.8365 -0.2241 -0.1294] Low Reconstruction filter :[ 0.483 0.8365 0.2241 -0.1294] High Reconstruction filter :[-0.1294 -0.2241 0.8365 -0.483] ------------------------------------------------ Entropy Name :shannon Entropy Parameter :0 ------------------------------------------------
Input Arguments
T
— Wavelet packet tree
wptree
object
Wavelet packet tree, specified as a wptree
object.
Example: T = wpdec(rand(1,1000),2,"db2")
Version History
Introduced before R2006a
MATLAB Command
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
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)