summaryrefslogtreecommitdiff
path: root/29/CH12/EX12.11
diff options
context:
space:
mode:
Diffstat (limited to '29/CH12/EX12.11')
-rwxr-xr-x29/CH12/EX12.11/exa12_11.sce19
1 files changed, 19 insertions, 0 deletions
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)=");