blob: 1ea46b925893980d86fc77d6b0eb2e9248ecd0a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc;
s = %s;
printf("S.S. error = 0.1");
Kv = 1/0.1
G = syslin('c',(s+5)/((s*(s+6)*(s+7)*(s+8))));
printf("\n For type-1 system and finite steady state error implies a ramp input. \n")
syms k s;
disp(s*G);
l = limit(s*G,s,0);
disp(l);
k = Kv/l;
disp(k,"Value of K:");
|