?? wt04fig05.m
字號:
%CAPTION
fprintf('\n');
disp('Figure 4.5')
disp('Graphs of four windows g(t) whose supports are [-.5,.5].');
close all;
N = 64;
t = -.5 + (0:N)/N;
subplot(221)
hamming = .54 + .46*cos(2*pi*t);
plot(t,hamming);
hold on
plot(t,zeros(1,N+1));
axis([-.5 .5 -.1 1.1])
title('Hamming')
subplot(222)
gaussian = exp(-18*t.^2);
plot(t,gaussian);
hold on
plot(t,zeros(1,N+1));
axis([-.5 .5 -.1 1.1]);
title('Gaussian')
subplot(223)
hanning = (cos(pi*t)).^2;
plot(t,hanning);
hold on
plot(t,zeros(1,N+1));
axis([-.5 .5 -.1 1.1]);
title('Hanning')
subplot(224)
blackman = .42+.5*cos(2*pi*t)+.08*cos(4*pi*t);
plot(t,blackman);
hold on
plot(t,zeros(1,N+1));
axis([-.5 .5 -.1 1.1]);
title('Blackman');
% 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -