数字信号处理上机实验.doc

数字信号处理上机实验.doc

ID:52718934

大小:296.00 KB

页数:17页

时间:2020-03-29

数字信号处理上机实验.doc_第1页
数字信号处理上机实验.doc_第2页
数字信号处理上机实验.doc_第3页
数字信号处理上机实验.doc_第4页
数字信号处理上机实验.doc_第5页
资源描述:

《数字信号处理上机实验.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、数字信号处理实验报告班级:测控0701姓名:黄小宝学号:30703020191-1clearclosealla=[1,2,3,4],b=[3,4,5,6]c=a+bd=a-be=a.*bf=a./bg=a.^bsubplot(2,4,1>:stem(a>subplot(2,4,2>:stem(b>subplot(2,4,3>:stem(c>subplot(2,4,4>:stem(d>subplot(2,4,5>:stem(e>subplot(2,4,6>:stem(f>subplot(2,4,7>:stem(g>17/171-2clearclosealln

2、=[0:15]x1=0.8.^nx2=abs(exp((0.2+3*i>*n>>x3=angle(exp((0.2+3*i>*n>>x4=3*cos(0.125*pi*n+0.2*pi>+2*sin(0.25*pi*n+0.1*pi>b5E2RGbCAPsubplot(2,2,1>:stem(n,x1>subplot(2,2,2>:stem(n,x2>subplot(2,2,3>:stem(n,x3>subplot(2,2,4>:stem(n,x4>17/171-3clearcloseallt1=[0:0.01:10]x1=sin(2*pi*t1>t2=[

3、0:0.01:4]x2=cos(100*pi*t2>.*sin(pi*t2>subplot(2,1,1>。stem(t1,x1>subplot(2,1,2>。stem(t2,x2>17/172-1clearcloseallb=[0.05,0.05]a=[1,-0.9]n=0:100x1=((n>=0>==1>-((n-8>=0>==1>x2=(n>=0>x3=((n>=0>==1>-((n-1>=0>==1>y1=filter(b,a,x1>y2=filter(b,a,x2>y3=filter(b,a,x3>subplot(2,2,1>:stem(y1>s

4、ubplot(2,2,2>:stem(y2>subplot(2,2,3>:stem(y3>17/172-2clearclosealln=0:20h1=((n>=0>==1>-((n-10>=0>==1>h2=((n-0>==1>+2.5*((n-1>==1>+2.5*((n-2>==1>+((n-3>==1>p1EanqFDPwx1=((n>=0>==1>-((n-8>=0>==1>y1=conv(x1,h1>y2=conv(x1,h2>subplot(3,2,1>:stem(n,h1>subplot(3,2,2>:stem(n,h2>subplot(3,

5、2,3>:stem(n,x1>n=0:(length(y1>-1>subplot(3,2,4>:stem(n,y1>n=0:(length(y2>-1>subplot(3,2,5>:stem(n,y2>17/172-3clearclosealln=0:1000b=[1/100.49,0,1/100.49]a=[1,-1.8237,0.9801]u=((n>=0>==1>-((n-1>=0>==1>q=(n>=0>x=sin(0.014*n>+sin(0.4*n>y1=filter(b,a,q>y2=filter(b,a,u>y3=filter(b,a,x>

6、subplot(2,2,1>:stem(n,y1>subplot(2,2,2>:stem(n,y2>subplot(2,2,3>:stem(n,y3>17/173-1clearall。closeall。figure(1>。A=444.128。a=50*1.414*pi。w=50*1.414*pi。Fs1=1000。T1=1/Fs1。Fs2=300。T2=1/Fs2。Fs3=200。T3=1/Fs3。DXDiTa9E3dTp=64/1000。N1=Tp*Fs1。N2=ceil(Tp*Fs2>。N3=ceil(Tp*Fs3>。RTCrpUDGiTn1=0:N1

7、-1。n2=0:N2-1。n3=0:N3-1。x1=A*exp(-a.*n1*T1>.*sin(w.*n1*T1>.*(n1>=0>。x2=A*exp(-a.*n2*T2>.*sin(w.*n2*T2>.*(n2>=0>。x3=A*exp(-a.*n3*T3>.*sin(w.*n3*T3>.*(n3>=0>。X1=T1*fft(x1,N1>。X2=T2*fft(x2,N2>。X3=T3*fft(x3,N3>。5PCzVD7HxAf1=n1/Tp。f2=n2/Tp。f3=n3/Tp。subplot(3,2,1>,stem(n1,x1,'.'>。axis([0

8、,N1,1.2*min(x1>,1.2*max(x1>]>jLBH

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。