This commit is contained in:
iridiumR 2022-05-19 16:35:45 +08:00
parent af10d60efa
commit 9934ee3163

View file

@ -58,3 +58,16 @@ yts = ilaplace(Ys);
subplot(3, 1, 3);
fplot(yts*heaviside(t));
title('');
%% 5
syms t s;
f = (-t+1)*(heaviside(t)-heaviside(t-2))-(heaviside(t-2)-heaviside(t-3));
subplot(2, 1, 1);
ezplot(f);
subplot(2, 1, 2);
F = laplace(f);
H = 1/(s^2+5*s+4);
Y = F*H;
y = ilaplace(Y);
ezplot(y);