blob: a46ded3f5cfbce930e4b572f9c355ac656368a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
s = %s;
G = syslin('c',200/(s^2+10*s+200));
disp(G,"G(s)=");
printf("input is a Step function");
syms t s;
R = laplace(1,t,s);
disp(R,"R(s)=");
C = G*R;
disp(C,"C(s)=G(s)R(s)=");
l = ilaplace(C,s,t);
disp(l,"c(t)=");
|