全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Digital Signal Processing of 2005Answer to “Digital Signal Processing of 2005”Problem 1(a) even part: odd part: (b)(c) MATLAB Program n=-4:2;x=1 -2 4 6 -5 8 10;x11,n11=sigshift(x,n,2);x12,n12=sigshift(x,n,-1);x13,n13=sigfold(x,n);x13,n13=sigshift(x13,n13,-2);x12,n12=sigmult(x,n,x12,n12);y,n=sigadd(2*x11,n11,x12,n12);y,n=sigadd(y,n,-1*x13,n13)Problem 2(a),is periodic in with period 2(b) MATLAB Program:clear; close all;n = 0:6; x = 4,2,1,0,1,2,4;w = 0:1:1000*pi/1000;X = x*exp(-j*n*w); magX = abs(X); phaX = angle(X);% Magnitude Response Plotsubplot(2,1,1); plot(w/pi,magX);grid;xlabel(frequency in pi units); ylabel(|X|);title(Magnitude Response);% Phase response plotsubplot(2,1,2); plot(w/pi,phaX*180/pi);grid;xlabel(frequency in pi units); ylabel(Degrees);title(Phase Response); axis(0,1,-180,180) (c) Because the given sequence x (n)=4,2,1,0,1,2,4 (n=0,1,2,3,4,5,6) is symmetric about ,the phase response satisfied the condition: so the phase response is a linear function in . (d) ;(e) The difference of amplitude and magnitude response:Firstly, the amplitude response is a real function, and it may be both positive and negative. The magnitude response is always positive. Secondly, the phase response associated with the magnitude response is a discontinuous function. While the associated with the amplitude is a continuous linear function. Problem 3(a) Zero:0 and 1;Pole:-0.6 and 1.5;(b), (c) ROC : , Problem 4(a) y(n)=50,44,34,52;(b) y(n)=5,16,34,52,45,28,0;(c) N=6;(d) MATLAB Program:Function y=circonv(x1,x2,N) If (length(x1)N) error(“N must not be smaller than the length of sequence”)elsex1=x1,zeros(1,N-length(x1);endif(length(x2)N) error(“N must not be smaller than the length of sequence”)elsex2=x2,zeros(1,N-length(x2); end y1=dft(x1,N).*dft(x2,N);y=idft(y,N);(e) DTFT is discrete in time domain, but continuous in frequency domain. The DFT is discrete both in time and frequency domain.The FFT is a very efficient method for calculating DFT. Problem 5(a) Direct form II uses the little delay and it can decrease the space of the compute.(b)The advantage of the linear-phase form:1. For frequency-selective filters, linear-phase structure is generally desirable to have a phase-response that is a linear function of frequency. 2. This structure requires 50% fewer multiplications than the direct form.(c) Block diagrams are shown as under:Problem 6(a) we use Hamming or Blackman window to design the bandpass filter because it can provide us attenuation exceed 60dB .(b) According to Blackman window :first, Determine transition width = ;second, Determine the type of the window according to ;third, Compute M using the formula ;fourth, Compute ideal LPF ;fifth, design the window needed, multiply point by point;sixth, determine (c) MATLAB Program:% Specifications about Blackman window:ws1 = 0.2*pi; % lower stopband edgewp1 = 0.3*pi; % lower passband edgewp2 = 0.6*pi; % upper passband edgews2 = 0.7*pi; % upper stopband edgeRp = 0.5; % passband rippleAs = 60; % stopband attenuation%tr_width = min(wp1-ws1),(ws2-wp2);M = ceil(6.6*pi/tr_width); M = 2*floor(M/2)+1, % choose odd Mn = 0:M-1;w_ham = (hamming(M);wc1 = (ws1+wp1)/2; wc2 = (ws2+wp2)/2;hd = ideal_lp(wc2,M)-ideal_lp(wc1,M);h = hd .* w_ham;db,mag,pha,grd,w = freqz_m(h,1);delta_w = pi/500;Asd = floor(-max(db(1:floor(ws1/delta_w)+1), % Actual AttnRpd = -min(db(ceil(wp1/delta_w)+1:floor(wp2/delta_w)+1), % Actual passband ripple (5)% Filter Response Plotssubplot(2,2,1); stem(n,hd); title(Ideal Impulse Response: Bandpass);axis(-1,M,min(hd)-0.1,max(hd)+0.1); xlabel(n); ylabel(hd(n)set(gca,XTickMode,manual,XTick,0;M-1,fontsize,10)subplot(2,2,2); stem(n,w_ham); title(Hamming Window);axis(-1,M,-0.1,1.1); xlabel(n); ylabel(w_ham(n)set(gca,XTickMode,manual,XTick,0;M-1,fontsize,10)set(gca,YTickMode,manual,YTick,0;1,fontsize,10)subplot(2,2,3); stem(n,h); title(Actual Impulse Response: Bandpass);axis(-1,M,min(hd)-0.1,max(hd)+0.1); xlabel(n); ylabel(h(n)set(gca,XTickMode,manual,XTick,0;M-1,fontsize,10)subplot(2,2,4); plot(w/pi,db); title(Magnitude Response in dB);axis(0,1,-As-30,5); xlabel(frequency in pi units); ylabel(Decibels)set(gca,XTickMode,manual,XTick,0;0.3;0.4;0.5;0.6;1)set(gca,XTickLabelMode,manual,XTickLabels,0;0.3;0.4;0.5;0.6;1,.fontsize,10)set(gca,TickMode,manual,YTick,-50;0)set(gca,YTickLabelMode,manual,YTickLabels,-50;0);gridProblem 7Firstly, we use the given speci
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030代餐食品消费升级趋势分析及产品创新与渠道整合战略研究报告
- 2025-2030云南高原特色农产品产业链铺货优势差距分析品牌发展方案
- 2025-2030中国预制菜行业标准化生产与渠道拓展策略报告
- 深井矿山预应力充填力学行为及接顶调控机制
- 2025年师德师风考试题库详细题库及答案解析
- 小学英语五年级下册Module7Unit1太空荣耀家国情-基于“神舟五号”语篇的深度学习设计
- 2026北京大学未来技术学院招聘3名劳动合同制工作人员备考题库及答案详解(网校专用)
- 2026南京大数据集团有限公司招聘50人备考题库含答案详解ab卷
- 2026年3月深圳技术大学附属中学面向应届毕业生招聘教师9人备考题库附答案详解
- 2026江苏苏州工业园区领军创业投资有限公司招聘1人备考题库有完整答案详解
- 永磁电动机计算公式大全(电磁计算程序)精讲
- 2022年楚雄医药高等专科学校教师招聘考试真题
- 聚丙烯题库PP通用部分
- 正清风痛宁及风湿与疼痛三联序贯疗法新详解演示文稿
- 金刚砂耐磨混凝土地坪一次成型施工工法
- GB/T 4893.9-1992家具表面漆膜抗冲击测定法
- GB/T 14039-2002液压传动油液固体颗粒污染等级代号
- GB/T 12618.1-2006开口型平圆头抽芯铆钉10、11级
- GB/T 10669-2001工业用环己酮
- FZ/T 98008-2011电子织物强力仪
- 终端市场反馈信息管理准则
评论
0/150
提交评论