信号与系统实验二实验报告.docVIP

  • 4
  • 0
  • 约小于1千字
  • 约 4页
  • 2023-10-16 发布于湖北
  • 举报
t=0:0.1:8; sys=tf([1 2],[1 5 4]); u=t; y=lsim(sys,u,t); plot(t,y); xlabel(’t (sec) ’); ylabel(’y(t)’) t=0:0.1:8; sys=tf([1 2],[1 5 4]); y1=impulse(sys,t); y2=step(sys,t); subplot(2,1,1) plot(t,y1); xlabel(t (sec)’); ylabel(‘y1(t)’) subplot(2,1,2) plot(t,y2); xlabel(‘t (sec)’); ylabel(‘y2(t)’) t=0:20; a=[1 -0.25]; b=[1 -1]; x=(-1).^t; y=filter(b,a,x); subplot(2,1,1) stem(t,x); title(‘输入序列’); subplot(2,1,2) stem(t,y); title(‘输出序列’) a=[1 0.7 -0.45 -0.6]; b=[0.8 -0.44 0.36 0.02]; y=impz(b,a, 0:30) y = 0.8000 -1.0000 1.4200 -0.9440 0.6998 -0.0627 -0.2076 0.5370 -0.5069 0.4719 -0.2363 0.0

文档评论(0)

1亿VIP精品文档

相关文档