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