wpviewcf
Plot wavelet packets colored coefficients
Description
Examples
View Wavelet Packet Coefficients
Create a wavelet packet tree using the Haar wavelet.
Fs = 200;
x = 0:1/Fs:1;
y = sin(8*pi*x);
t = wpdec(y,3,"haar");
Use plot
, the plot tree GUI, to plot the tree.
plot(t)
Click the node (3,0)
to get this figure:
Plot the colored wavelet packet coefficients.
wpviewcf(t,1)
Input Arguments
T
— Wavelet packet tree
wptree
object
Wavelet packet tree, specified as a wptree
object.
cmode
— Color mode
1
| 2
| 3
| 4
| ...
Color mode to use to plot the coefficients, specified by one of the values listed here.
Color Mode | Description |
---|---|
1 | Frequency order – Global coloration – Absolute values |
2 | Frequency order – By level – Absolute values |
3 | Frequency order – Global coloration – Values |
4 | Frequency order – By level coloration – Values |
5 | Natural order – Global coloration – Absolute values |
6 | Natural order – By level – Absolute values |
7 | Natural order – Global coloration – Values |
8 | Natural order – By level coloration – Values |
nbcol
— Number of colors
positive integer
Number of colors to use to plot the coefficients, specified as a positive integer.
Version History
Introduced before R2006a
See Also
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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:
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)