📄 sfreq.m
字号:
%f = sfreq(h,omega)
%Computation of the frequency response of filter h
%at the point omega by using the simple method
%but the order of h must be odd
%See also SFREQ1
function f=sfreq(h,omega)
N = size(h,2);
for I = 1:N/2
c(I) = cos(((I-1)+0.5)*omega);
end
f = abs(2*h(N/2+1:N)*c');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -