blob: 740a10a74dae2e094206bef31ad10a704cd8c15f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Caption:determine_unit_step_response
//example 12.10
//page 524
s=%s;
syms t;
CL=sym('1/((s+1)*(s^2+1))')
disp(CL,"C(s)/R(s)=");
//for unit step response R(s)=1/s;
d=CL*(1/s);
a=s*d;
c=ilaplace(d,s,t);
disp(c,"c(t)=");
|