- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第7章FIR数字滤波器设计要点.ppt
第7章 FIR数字滤波器(FIRDF)设计 W=rectwin(M) W=bartlett(M) W=hanning(M) W=hamming(M) W=blackman(M) W=kaiser(M,beta) fir1:window-based finite impulse response filter design b= fir1(n,wn) b = fir1(n,wn,ftype) b = fir1(n,wn,window) b = fir1(n,wn,ftype,window) returns row vector b containing the n+1 coefficients of an order n lowpass or bandpass FIR filter. wn:cutoff frequency If wn is a two-element vector, wn = [w1 w2], fir1 returns an order of n bandpass filter with passband w1 w w2. If wn is a multi-element vector, wn = [w1 w2 w3 w4 w5 ... wn], fir1 returns an order n multiband filter with bands 0 w w1, w1 w w2, ..., wn w 1. specifies a filter type, where ftype is: high for a highpass filter with cutoff frequency wn. stop for a bandstop filter, if wn = [w1 w2]. The stopband frequency range is specified by this interval. DC-1 to make the first band of a multiband filter a passband. DC-0 to make the first band of a multiband filter a stopband. kaiserord [n,wn,beta,ftype] = kaiserord(f,a,dev) [n,wn,beta,ftype] = kaiserord(f,a,dev,fs) [n,Wn,beta,ftype] = kaiserord(f,a,dev) n the approximate order Wn normalized frequency band edges f a vector of band edges a a vector specifying the desired amplitude on the bands defined by f. dev The entries in dev specify the passband ripple and the stopband attenuation. example1 Design a lowpass filter with passband defined from 0 to 1 kHz and stopband defined from 1500 Hz to 4 kHz. Specify a passband ripple of 5% and a stopband attenuation of 40 dB. fs=8kHz. 7.3 利用频率采样法设计FIRDF 窗函数法适合设计片段常数特性的标准型频率响应特性 滤波器。 频率采样设计法可以设计任意形状频率响应特性的FIRDF。 7.3.1 频率采样设计法的基本概念 对 在 上采样N点 上采样N点 在 上采样N点 理想的频率响应函数: 理想的频率响应函数: 理想的频率响应函数: 频率采样的系统函数: 频率采样法设计FIR数字滤波器的核心问题: 与 的差别多大? 逼近误差与哪些因素有关? 如何设计满足给定指标的线性相位FIRDF? 单位采样响应: 单位采样响应: →P76 3.3.9b 频率采样结构 7.3.2 设计线性相位特性FIRDF时,频域采样H(k)的设置原则 如果FIR数字滤波器为线性相位的,则必满足第一或第二类 线性相位的条件,即 频域采样: 幅度采样: (1)第一类线性相位 相位采样: N为奇数(情况1), N为偶数(情况2), →关于N/2点偶对称 →关于N/2点奇对称 (2)第
文档评论(0)