diff options
Diffstat (limited to '257/CH3/EX3.12/example_3_12.sce')
-rw-r--r-- | 257/CH3/EX3.12/example_3_12.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/257/CH3/EX3.12/example_3_12.sce b/257/CH3/EX3.12/example_3_12.sce new file mode 100644 index 000000000..548b5f395 --- /dev/null +++ b/257/CH3/EX3.12/example_3_12.sce @@ -0,0 +1,18 @@ +//given poles are -1, -2+%i , -2-%i and zero is s=-3
+
+num=poly([-3],'s','roots');
+den=poly([5 9 5 1 ],'s','coeff');
+G=k*num/den;
+disp(G,"G(s)=")
+
+//to find k
+//G(0)=10 given
+
+k=(10*(0+1)*(0+0+5))/3
+disp(k,"value of k is")
+
+disp(G,"transfer function is")
+
+
+
+
|