summaryrefslogtreecommitdiff
path: root/29/CH11/EX11.12/exa11_12.sce
blob: d08167d37455dbf07a7c92ea485c5298b1eb856e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Caption:unit_step_and_impulse_response
//example 11_12
//page 482
s=%s;
syms t;
G=(4*s+1)/(4*s^2)
H=1;
CL=G/.H
disp(CL,"C(s)/R(s)=")
y=ilaplace(CL,s,t);
disp(y,"unit impulse response,c(t)=");
//for unit step response R(s)=1/s;
C=CL*(1/s)
c=ilaplace(C,s,t)
disp(c,"expression_for_unit_step_response_is=")