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