资源描述:
《数字信号处理实验7》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、LaboratoryExercise7DIGITALFILTERDESIGN7.1DESIGNOFIIRFILTERSProject7.1EstimationofIIRFilterOrderAnswers:Q7.1ThenormalizedpassbandedgeangularfrequencyWpis-0.2ThenormalizedstopbandedgeangularfrequencyWsis-0.4ThedesiredpassbandrippleRpis-0.5dBThedesiredstopbandrippleRsis-40dB(1)Usingthesevaluesan
2、dbuttordwegetthelowestorderforaButterworthlowpassfiltertobe-8ThecorrespondingnormalizedpassbandedgefrequencyWnis-0.2469or0.2469pi(2)Usingthesevaluesandcheb1ordwegetthelowestorderforaType1Chebyshevlowpassfiltertobe-5ThecorrespondingnormalizedpassbandedgefrequencyWnis-0.2000(3)Usingthesevaluesa
3、ndcheb2ordwegetthelowestorderforaType2Chebyshevlowpassfiltertobe-5[N,Wn]=cheb2ord(0.2,0.4,0.5,40).ThecorrespondingnormalizedpassbandedgefrequencyWnis-0.4000(4)Usingthesevaluesandellipordwegetthelowestorderforanellipticlowpassfiltertobe–4[N,Wn]=ellipord(0.2,0.4,0.5,40). Fromtheaboveresultsweob
4、servethattheEllipticfilterhasthelowestordermeetingthespecifications.Q7.2ThenormalizedpassbandedgeangularfrequencyWpis-0.6000ThenormalizedstopbandedgeangularfrequencyWsis-0.3429ThedesiredpassbandrippleRpis-1dBThedesiredstopbandrippleRsis-50dB(1)Usingthesevaluesandbuttordwegetthelowestorderfora
5、Butterworthhighpassfiltertobe-8[N,Wn]=buttord(Wp,Ws,Rp,Rs).ThecorrespondingnormalizedpassbandedgefrequencyWnis-0.5647(2)Usingthesevaluesandcheb1ordwegetthelowestorderforaType1Chebyshevhighpassfiltertobe–5[N,Wn]=cheb1ord(Wp,Ws,Rp,Rs).ThecorrespondingnormalizedpassbandedgefrequencyWnis-0.6000(3
6、)Usingthesevaluesandcheb2ordwegetthelowestorderforaType2Chebyshevhighpassfiltertobe-5[N,Wn]=cheb2ord(Wp,Ws,Rp,Rs).ThecorrespondingnormalizedpassbandedgefrequencyWnis–0.3429(4)Usingthesevaluesandellipordwegetthelowestorderforanelliptichighpassfiltertobe-4[N,Wn]=ellipord(Wp,Ws,Rp,Rs).Thecorresp
7、ondingnormalizedpassbandedgefrequencyWnis–Wn=0.6000,FromtheaboveresultsweobservethattheEllipticfilterhasthelowestordermeetingthespecifications.Project7.2IIRFilterDesign AcopyofProgramP7_1isgivenbelow:%程序p7.1%巴特沃斯带阻滤波器的设计ws=[0.40.6];wp=[0.30.7