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

📄 jie16.m

📁 16阶带通滤波器在matlab环境下仿真程序
💻 M
字号:
function Hd = jie16%JIE16 Returns a discrete-time filter object.%% M-File generated by MATLAB(R) 7.1 and the Signal Processing Toolbox 6.4.%% Generated on: 28-Apr-2009 21:28:34%% Equiripple Bandpass filter designed using the FIRPM function.% All frequency values are in Hz.Fs = 40800;  % Sampling FrequencyFstop1 = 3200;           % First Stopband FrequencyFpass1 = 7200;           % First Passband FrequencyFpass2 = 13200;          % Second Passband FrequencyFstop2 = 17200;          % Second Stopband FrequencyDstop1 = 0.001;          % First Stopband AttenuationDpass  = 0.17099735734;  % Passband RippleDstop2 = 0.001;          % Second Stopband Attenuationdens   = 16;             % Density Factor% Calculate the order from the parameters using FIRPMORD.[N, Fo, Ao, W] = firpmord([Fstop1 Fpass1 Fpass2 Fstop2]/(Fs/2), [0 1 ...                          0], [Dstop1 Dpass Dstop2]);% Calculate the coefficients using the FIRPM function.b  = firpm(N, Fo, Ao, W, {dens});Hd = dfilt.dffir(b);% [EOF]

⌨️ 快捷键说明

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