正在加载图片...
程序: clear close a dt0.01 ·t=0:dt:5: x=exp(-2 t) h=exp(-1* t subplot(2, 2, 1),plot(t, h); grid y=conv(x, h)*dt subplot(2, 2, 2), plot(t,y(1: length(t))); grid y1=exp(-t)-exp(-2*t) subplot(2, 2, 3), plot(t, yl,r),grid• 程序: • clc • clear,close all • dt=0.01 • t=0:dt:5; • x=exp(-2*t) • h=exp(-1*t); • subplot(2,2,1),plot(t,h);grid • y=conv(x,h)*dt; • subplot(2,2,2),plot(t,y(1:length(t)));grid • y1=exp(-t)-exp(-2*t); • subplot(2,2,3),plot(t,y1,'r'),grid
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有