?? exam12_1.m
字號:
% 當前延拓模式是補零
% 裝載信號
load noisdopp; x = noisdopp;
figure(1); subplot(211);
plot(x); title('原始信號');
% 使用db1小波包對x進行3層分解,使用shannon熵
wpt = wpdec(x,3,'db1');
% 畫出小波包樹
plot(wpt)
% 讀取小波包(2,1)的系數(shù)
cfs = wpcoef(wpt,[2 1]);
figure(1); subplot(212);
plot(cfs); title('小波包(2,1)的系數(shù)');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -