ch1_1离散信号与系统-北京交通大学陈后金教授信号处理概述.pptVIP

  • 11
  • 0
  • 约8.98千字
  • 约 56页
  • 2016-04-28 发布于湖北
  • 举报

ch1_1离散信号与系统-北京交通大学陈后金教授信号处理概述.ppt

例: 已知x[k]={2, 1, -2, 1;},y[k]={-1, 2, 1, -1; k=0,1,2,3}, 试计算互相关函数rxy[n] 和ryx[n],以及自相关函数rx[n]。 解:根据序列的相关运算定义可得 相关在信号检测中的应用(检测信号) N=500; n=0:N-1; ns = randn(1,N); k=0:N-1; x0=k.*(0.95.^k); x1=k*0; x2=k*0; x=k*0; for k=200:N x1(k)=(k-200).*(0.9.^(k-200)); end for k=300:N x2(k)=(k-300).*(0.85.^(k-300)); end x=x0+x1+x2; y=x+ns; subplot(321);stem(n,x(n+1),.);title(Signal x);grid on subplot(323);stem(n,ns(n+1),.);title(Noise ns);grid on subplot(325);stem(n,y(n+1),.);title(y=x+ns);grid on [Ryy,n] = xcorr(y,y); subplot(322);stem(n,Ryy/N,r.);title(Ryy);grid on [Rxx,n] = xcorr(x,x); subplot

文档评论(0)

1亿VIP精品文档

相关文档