wt08fig04.m
来自「斯坦福大学的小波的工具箱 比matlab自带的工具箱更完善」· M 代码 · 共 37 行
M
37 行
% CAPTION :
fprintf('\n');
disp('Figure 8.4')
disp('Walsh wavelet packets at the depth j=3 of the Walsh tree,')
disp('calculated with a Haar filter. They are ordered from')
disp('left to right and up to down, from low to high frequencies.')
close all;
n = 2048;
J = log2(n);
j = 7;
p = 10;
k = 2^(J-j-1);
figure(1);clf
for b = 0:7,
w = MakeWaveletPacket(j,b,k,'Haar',p,n)*2^((j-3)/2);
x = (abs(w)>1.e-6);
length = x*x';
i = (((1:n)-n/2)./2^(j-3));
subplot(3,4,b+1)
plot(i,w)
axis([-1 9 min(w)-.05 max(w)+.05])
end;
% Written by Maureen Clerc and Jerome Kalifa, 1997
% clerc@cmapx.polytechnique.fr, kalifa@cmapx.polytechnique.fr
%
% Part of WaveLab Version 802
% Built Sunday, October 3, 1999 8:52:27 AM
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail wavelab@stat.stanford.edu
%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?