📄 ex3049.m
字号:
Wp=0.2*pi;Ws=0.3*pi;Rp=7;As=16;
Ripple=10^(-Rp/20)
Attn=10^(-As/20)
[b,a]=afd_butt(Wp,Ws,Rp,As);
[db,mag,pha,w]=freqs_m(b,a,0.5*pi);
[ha,x,t]=impulse(b,a)
% plots
subplot(221)
plot(w,mag);;grid
subplot(222)
plot(w,db);;grid
subplot(223)
plot(w,pha);;grid
subplot(224)
plot(t,ha)
grid on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -