⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sfreq.m

📁 里面囊括了基于matlab滤波器设计的各种.m文件
💻 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 + -