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

📄 f_parks.m

📁 digital signal processing常用工具箱
💻 M
字号:
% F_PARKS: This is a DLL file to implement Parks-McClellan FIR filter design
%
% Usage: h = f_parks (numtaps,numband,bands,des,weight,type);
%
% Inputs:
%         numtaps = filter order
%         numband = number of filter bands
%         bands   = vector of length 2*numband containing normalized
%                   band edge frequencies (0 to 0.5)
%         des     = vector of length numband containing desired band
%                   gains (e.g. 0 = stop, 1 = pass)
%         weight  = vector of length numband containing relataive 
%                   weights for each band
%         type    = integer specifying filter type
%
%                  1 = frequency selective (e.g. bandpass)
%                  2 = differentiator
%                  3 = Hilbert transformer
% Outputs:
%          h = vector of length numtaps containint FIR filter
%              coefficients
%
% NOTE: The source version of this function was written in C and was developed
%       by Jake Janovetz (janovetz@uiuc.edu).  It is free software subject to  
%       the terms of the GNU Library General Public License as published by 
%       the Free Software Foundation.
 

⌨️ 快捷键说明

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