From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 29/CH12/EX12.11/exa12_11.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 29/CH12/EX12.11/exa12_11.sce (limited to '29/CH12/EX12.11/exa12_11.sce') diff --git a/29/CH12/EX12.11/exa12_11.sce b/29/CH12/EX12.11/exa12_11.sce new file mode 100755 index 000000000..80e747fc4 --- /dev/null +++ b/29/CH12/EX12.11/exa12_11.sce @@ -0,0 +1,19 @@ +//Caption:determine_unit_step_and_unit_impulse_response +//example 12.11 +//page 524 +s=%s; +syms t; +G=sym('8/(s+1)'); +H=sym('(1/2*s)'); +CL=G/(1+G*H); +disp(CL,"C(s)/R(s)="); +//for unit step response R(s)=1/s; +d=CL*(1/s); +disp(d,"C(s)="); +c=ilaplace(d,s,t); +disp(c,"unit step response,c(t)="); +//for unit impulse response R(s)=1; +e=CL*(1); +disp(e,"C(s)="); +ct=ilaplace(e,s,t); +disp(ct,"unit impulse response,c(t)="); -- cgit