📄 ideal_bs.m
字号:
function hd=ideal_bs(Wcl,Wch,N)
% compute the ideal bandstop fiter unit pulse respondence hd(n)
% wcl: low cutoff frequency
% wch: high cutoff frequency
% N: window length
% hd: unit pulse respondence
alpha = (N-1)/2;
n = 0:1:N-1;
m = n-alpha+eps;
hd = [sin(Wcl*m)+sin(pi*m)-sin(Wch*m)]./(pi*m);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -