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

View file

@ -57,4 +57,17 @@ Ys = H*Fs;
yts = ilaplace(Ys);
subplot(3, 1, 3);
fplot(yts*heaviside(t));
title('');
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);