📄 firgaotongjuxingandhanmmingbijiao.m
字号:
Wn=0.7;
n=38;
b1=fir1(n,Wn,'high');
w=boxcar(n+1);
b2=fir1(n,Wn,'high',window);
[H1,W1]=freqz(b1,1,512,2);
[H2,W2]=freqz(b2,1,512,2);
subplot(2,1,1);
plot(W1,20*log(abs(H1)));
xlabel('归一化频率');
ylabel('幅度/dB');
subplot(2,1,2);
plot(W2,20*log(abs(H2)));
xlabel('归一化频率');
ylabel('幅度/dB');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -