基于MATLAB的离散时间信号与系统.docVIP

  • 12
  • 0
  • 约 17页
  • 2017-09-21 发布于贵州
  • 举报
信号类型: 实指数信号 a=1.4;a1=0.7; n1=0;n2=10; n=[n1:n2]; x=a.^n; x1=a1.^n; subplot(1,2,1);plot(n,x); subplot(1,2,2);plot(n,x1); grid on; 正余弦信号 omig=0.4; n1=0;n2=20;n=[n1:n2]; xn1=sin(omig*n); subplot(1,2,1);plot(n,xn1); grid; xn2=cos(omig*n); subplot(1,2,2);plot(n,xn2); grid; 复指数信号 t=0:0.01:3; k=2;a=-1.5;b=10; ft=k*exp((a+i*b)*t); subplot(2,2,1);plot(t,real(ft));title(实部);axis([0 3 -2 2]);grid on; subplot(2,2,2);plot(t,imag(ft));title(虚部);axis([0 3 -2 2]);grid on; subplot(2,2,3);plot(t,abs(ft));title(模);axis([0 3 0 2]);grid on; subplot(2,2,4);plot(t,angle(ft));title(相角);axis([0

文档评论(0)

1亿VIP精品文档

相关文档