DSP数字信号处理习题集及matlab编程.docxVIP

  • 4
  • 0
  • 约9.14千字
  • 约 20页
  • 2019-09-14 发布于广东
  • 举报
Pl.已知两序歹!]x[n] = 0.8n{w[n]-u[n-5]}, h[n] = {1 丄 1丄 1} 计算两序列的卷积并绘制其波形。 解:for i=l:5 x(i)=0.8A(i-l); end h=[l 1111]; y=conv(x,h) m=[0 1 2345 67 8]; stem(m,y/filledr) P2?已知复指数序列x[n] = 1.2严2)“,绘制20点该序列的实部和虚部。 解:4?] = 1 ?2严皿=1.2严严=1.2严(cos 2“ + ,/sin 2n) = 1.2严 cos 2n +j\ .2严 sin 2n 所以 Re(x[n]) = 1.2eL5/: cos 2n9 Im(x[n]) = 1.20 sin 2n for n=l:20 Re(n)=l. 2*exp(l. 5*(nT))*cos(2*(nT)); lm(n)=l. 2*exp(l. 5*(nT))*sin(2*(nT)); end for i二1:20 x(i)二 i-1; end subplot (2, 1, 1) stem(x, Re, filled); labl=,\rightarrowRe(x[n])J ;text(14, 1. 2e+12, labl,Fontsize,18); subplot (2, 1, 2) stem(x, Im, filled) ; la

文档评论(0)

1亿VIP精品文档

相关文档