数字信号处理上机实验.docx
- 文档编号:27761602
- 上传时间:2023-07-04
- 格式:DOCX
- 页数:12
- 大小:951.51KB
数字信号处理上机实验.docx
《数字信号处理上机实验.docx》由会员分享,可在线阅读,更多相关《数字信号处理上机实验.docx(12页珍藏版)》请在冰豆网上搜索。
数字信号处理上机实验
3、上机实验内容
(1)对2中所给出的信号逐个进行谱分析。
下面给出针对各信号的FFT变换区间N以及对连续信号x6(t)的抽样频率fs,供实验时参考。
x1(n),x2(n),x3(n),x4(n),x5(n):
N=8,16
x6(t):
fs=64(Hz),N=16,32,64
x1(n)=R4(n)=1,0≤n≤3
1,其他n
x1=[1,1,1,1];stem(x1);
x1=[1,1,1,1];stem(x1);q=fft(x1,8);q1=abs(q);stem(q1);
x1=[1,1,1,1];stem(x1);q=fft(x1,16);q1=abs(q);stem(q1);
n+1,0≤n≤3
x2(n)=8-n,4≤n≤7
1,其他n
2,
x2=[1,2,3,4,4,3,2,1];stem(x2);
x2=[1,2,3,4,4,3,2,1];stem(x2);q=fft(x2,8);q1=abs(q);stem(q1);
x2=[1,2,3,4,4,3,2,1];stem(x2);q=fft(x2,16);q1=abs(q);stem(q1);
4-n,0≤n≤3
x3(n)=n–3,4≤n≤7
1,其他n
x3=[4,3,2,1,1,2,3,4];stem(x3);
x3=[4,3,2,1,1,2,3,4];stem(x3);q=fft(x3,8);q1=abs(q);stem(q1);
x3=[4,3,2,1,1,2,3,4];q=fft(x3,16);q1=abs(q);stem(q1);
x4(n)=cos(π/4*n)
n=0:
7;q1=cos(pi/4*n);stem(q1);
n=0:
15;q=cos(pi/4*n);stem(q);
n=0:
7;q1=cos(pi/4*n);q2=fft(q1,8);q3=abs(q2);stem(q3);
n=0:
15;q1=cos(pi/4*n);q2=fft(q1,16);q3=abs(q2);stem(q3);
x5(n)=sin(π/8*n)
n=0:
7;q1=sin(pi/8*n);stem(q1);
n=0:
15;q1=sin(pi/8*n);stem(q1);
n=0:
7;q1=sin(pi/8*n);q2=fft(q1,8);q3=abs(q2);stem(q3);
n=0:
15;q1=sin(pi/8*n);q2=fft(q1,16);q3=abs(q2);stem(q3);
x6(t)=cos8πt+cos16πt+cos20πt
t=0:
15;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);stem(q1);
t=0:
31;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);stem(q1);
t=0:
63;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);stem(q1);
t=0:
15;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);
q2=fft(q1,16);q3=abs(q2);stem(q3);
t=0:
31;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);
q2=fft(q1,32);q3=abs(q2);stem(q3);
t=0:
63;b=1/64;q1=cos(8*pi*t*b)+cos(16*pi*t*b)+cos(20*pi*t*b);
q2=fft(q1,64);q3=abs(q2);stem(q3);
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字信号 处理 上机 实验
![提示](https://static.bdocx.com/images/bang_tan.gif)