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

📄 hr_type4.m

📁 the file contain many matlab signal source code and many example .
💻 M
字号:
function [Hr,w,d,L]=hr_type4(h);
% Computes Amplitude response Hr(w) of a Type-4 LP FIR filter
% ---------------------
% [Hr,w,d,L]=hr_type4(h)
% Hr=Amplitude Response
% w=500 frequecies between [0 pi] over which Hr is computed
% d=Type-4 LP filter coefficients
% L=Order of Hr
% h=Type-4 LP filter impulse response
% 
M=length(h);
L=M/2;
d=2*[h(L:-1:1)];
n=[1:L];n=n-0.5;
w=[0:500]'*pi/500;
Hr=sin(w*n)*d';

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -