⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex3041.m

📁 the file contain many matlab signal source code and many example .
💻 M
字号:
M=45;As=60;n=[0:1:M-1];
beta=0.1102*(As-8.7)
w_kai=(kaiser(M,beta))';
wc1=pi/3;wc2=2*pi/3;
hd=ideal_lp(wc1,M)+ideal_lp(pi,M)-ideal_lp(wc2,M);
h=hd.*w_kai;
[db,mag,pha,grd,w]=freqz_m(h,[1]);
% plots
subplot(221)
stem(n,hd);axis([-1 M -0.2 0.8])
subplot(222)
stem(n,w_kai);axis([-1 M 0 1.1])
subplot(223)
stem(n,h);axis([-1 M -0.2 0.8])
subplot(224)
plot(w/pi,db);axis([0 1 -80 10])
grid on 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -