下载后可任意编辑南通大学 DSP 课程设计实验及习题答案完整版精12024 年 4 月 19 日下载后可任意编辑南通大学 DSP 课程设计实验加课后习题程序实验一n=-50:50;u=(n>=0;e=(0
^n;x1=e
*u;u1=(n>=4;u2=(n>=5;x2=(u1-u2;u3=(n>=0;u4=(n>=4;x2=(u3-u4;22024 年 4 月 19 日下载后可任意编辑subplot(4,1,1;stem(n,u,'
'subplot(4,1,2;stem(n,x1,'
'subplot(4,1,3;stem(n,x2,'
'subplot(4,1,4;stem(n,x3,'
'实验二n=-100:100;x1=(n>=-2&(n=0&(n=0&(n1=0;u2=(n4>=N4;a7=cos(0
*n4;a8=cos(0
*n4;a9=cos(0
125*pi
*n4;x4=a7+a8+a9;y1=u1-u2;y2=hamming(N4;x41=x4
*y1;x42=x4
*y2';X41=fft(x41,N4;X42=fft(x42,N4;82024 年 4 月 19 日下载后可任意编辑figure(1stem(n1,abs(X1,'
'figure(2subplot(2,1,1;stem(n1,abs(X21,'
'subplot(2,1,2;stem(n2,abs(X22,'
'figure(3stem(n3,abs(X3,'
'figure(4subplot(2,1,1;stem(n4,abs(X41,'
'subplot(2,1,2;s