📄 ideal_hp.m
字号:
function hd=ideal_hp1(Wc,N)
%compute the ideal highpass 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(pi*m)-sin(Wc*m)]./(pi*m);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -