summaryrefslogtreecommitdiff
path: root/3885/CH3/EX3.2/Ex3_2.sci
diff options
context:
space:
mode:
Diffstat (limited to '3885/CH3/EX3.2/Ex3_2.sci')
-rw-r--r--3885/CH3/EX3.2/Ex3_2.sci19
1 files changed, 19 insertions, 0 deletions
diff --git a/3885/CH3/EX3.2/Ex3_2.sci b/3885/CH3/EX3.2/Ex3_2.sci
new file mode 100644
index 000000000..0af5261eb
--- /dev/null
+++ b/3885/CH3/EX3.2/Ex3_2.sci
@@ -0,0 +1,19 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 3.2
+
+clc;
+clear;
+s=%s
+p=poly([100],'s','coeff')
+q=poly([0 2 1],'s','coeff')
+h=poly([1 0.1 0 ],'s','coeff')
+g=p./q
+disp(g,'the given transfer function is')
+c=g/(1+(g*h))
+disp(c,'the closed loop transfer function is')
+u=c/s
+disp(u,'the in put is unit step signal')