信号与系统仿真试验报告.docxVIP

  • 5
  • 0
  • 约1.66千字
  • 约 12页
  • 2017-05-22 发布于湖北
  • 举报
信号与系统仿真试验报告详解

信号与系统仿真试验报告姓名:李耿学院:电气工程学院班级:四班学号:2013302540114实验1:连续时间信号的表示及可视化1.t=-10:0.01:10;y=(t==0);plot(t,y);xlabel(t);ylabel(f(t));2.t=-10:0.01:10; y=(t=0); plot(t,y);xlabel(t);ylabel(f(t));3.(分别取);t=-10:0.01:10; a1=1;y1=exp(a1*t);subplot(1,2,1);plot(t,y1);xlabel(t);ylabel(f(t));title(a=1);a2=-1;y2=exp(a2*t);subplot(1,2,2);plot(t,y2);xlabel(t);ylabel(f(t));title(a=-1);4.t=-10:0.01:10;y=t.*heaviside(t);plot(t,y);xlabel(t);ylabel(f(t));5.t=-10:0.01:10; y=sin(t)./t;plot(t,y);xlabel(t);ylabel(f(t));6.x=-10:0.01:10;f1=0.1;f2=0.2;f3=0.5;y1=sin(2*pi*f1*x);subplot(2,2,1);plot(x,y1);title(f=0.1);y2=sin(2*pi*f2*x);subplot(2,2,2);plot(x,y2);title(f=0.2);y3=sin(2*pi*f3*x);subplot(2,2,3);plot(x,y3);title(f=0.5);xlabel(t);ylabel(f(t));实验2:离散时间信号的表示及可视化1.n=-10:1:10;y=(n==0);stem(n,y);xlabel(n);ylabel(f(n));axis([-10 10 -1 2 ]); grid2.n=-10:1:10;y=(n=0);stem(n,y);xlabel(n);ylabel(f(n));axis([-10 10 -1 2 ]); grid3.(分别取)n=-10:1:10; a1=1;y1=exp(a1*n);subplot(1,2,1);stem(n,y1);xlabel(n);ylabel(f(n));title(a=1);a2=-1;y2=exp(a2*n);subplot(1,2,2);stem(n,y2);xlabel(n);ylabel(f(n));title(a=-1);4.(分别取不同的N值);n=-10:1:10;a1=0.5;a2=1;y1=a1*n.*heaviside(n);subplot(1,2,1);stem(n,y1);axis([-10,10,0,10]);y2=a2*n.*heaviside(n);subplot(1,2,2);stem(n,y2);xlabel(n);ylabel(f(n));5.n=-10:1:10; y=sin(n)./n;stem(n,y);xlabel(n);ylabel(f(n));6.(分别取不同的值)n=-10:1:10;w1=0.5;w2=1;w3=2;y1=sin(w1*n);subplot(3,1,1);stem(n,y1);title(f=0.1);y2=sin(w2*n);subplot(3,1,2);stem(n,y2);title(f=0.2);y3=sin(w3*n);subplot(3,1,3);stem(n,y3);title(f=0.5);xlabel(t);ylabel(f(t));实验3:系统的时域求解和频域分析

文档评论(0)

1亿VIP精品文档

相关文档