matlab
This commit is contained in:
parent
af10d60efa
commit
9934ee3163
1 changed files with 14 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Reference in a new issue