南理工数字信号处理matlab题库.docx

  1. 1、本文档共52页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DSP题库详解?1已知3阶椭圆IIR数字低通滤波器的性能指标为:通带截止频率0.4π,通带波纹为0.6dB,最小阻带衰减为32dB。设计一个6阶全通滤波器对其通带的群延时进行均衡。绘制低通滤波器和级联滤波器的群延时。%Progranm 1% Group-delay equalization of an IIR filter.%[n,d] = ellip(3,0.6,32,0.4);[GdH,w] = grpdelay(n,d,512);plot(w/pi,GdH); gridxlabel(\omega/\pi); ylabel(Group delay, samples);title(Original Filter);?F = 0:0.001:0.4;g = grpdelay(n,d,F,2);?? % Equalize the passbandGd = max(g)-g;% Design the allpass delay equalizer[num,den,tau] = iirgrpdelay(6, F, [0 0.4], Gd);?????????????????? %设计六阶的全通滤波器[b,a]=iirgrpdelay(6,F,[0 0.4],Gd);He1=dfilt.df2(b,a);He=dfilt.df2(n,d);He_all=dfilt.cascade(He,He1);grpdelay(He_all)??????????????????????????????????????????? %DFILT:Digital Filter Implementation.%[GdA,w] = grpdelay(num,den,512);%figure(2);%plot(w/pi,GdH+GdA); grid%xlabel(\omega/\pi);ylabel(Group delay, samples);%title(Group Delay Equalized Filter);?2设计巴特沃兹模拟低通滤波器,其滤波器的阶数和3-dB截止频率由键盘输入,程序能根据输入的参数,绘制滤波器的增益响应。% Program 2% Program to Design Butterworth Analog Lowpass Filter% Type in the filter order and passband edge frequency设计边缘频率N = input(Type in filter order = );Wn = input(3-dB cutoff angular frequency = );% Determine the transfer function[num,den] = butter(N,Wn,s);? %计算滤波器的分子和分母% Compute and plot the frequency response[h,w]=freqz(num,den);plot (w/pi,20*log10(abs(h)));xlabel(\omega/\pi); ylabel(Magnitude, dB);title(The magnitude respponse of the system)axis([0 3 -80 5])?3%%%%%%%%%%% To use the residuenum=[1,-0.2,0.5,0,0];den=[1,3.2,1.5,-0.8,1.4];[r,p,k]=residue(num,den)?4% Program 4% Cheby1 analog highpass filter design%Wp=0.75;Ws=0.35;Rs=43;Rp=0.5;[N,Wn]=cheb1ord(Wp,Ws,Rp,Rs,s);% Determine the coefficients of the transfer function[num,den]=cheby1(N,Rp,Wn,high,s);% Compute and plot the frequency responseomega=[0:1:30*pi];?????????????????????????????????????????????? %w=0:0.01:pi;h=freqs(num,den,omega);????????????????????????? %plot(w/pi,20*log10(abs(h)))plot(omega/(2*pi),20*log10(abs(h)));xlabel(\omega/\pi);ylabel(Magnitude,dB);title(IIR Chebyshev1 Highpass Filter/dig

文档评论(0)

kakaxi + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档