diff options
Diffstat (limited to '29/CH2/EX2.4.1/exa2_4_1.sce')
-rwxr-xr-x | 29/CH2/EX2.4.1/exa2_4_1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/29/CH2/EX2.4.1/exa2_4_1.sce b/29/CH2/EX2.4.1/exa2_4_1.sce new file mode 100755 index 000000000..55a40d8b8 --- /dev/null +++ b/29/CH2/EX2.4.1/exa2_4_1.sce @@ -0,0 +1,13 @@ +//Caption:pole_zero_Plot
+// example 2.4.1
+//page 19
+//transfer function:G(s)=(1/2((s^2+4)*(1+2.5*s))/((s^2+2)*(1+0.5*s)))
+s=%s;
+G=syslin('c',(1/2*((s^2+4)*(1+2.5*s))/((s^2+2)*(1+0.5*s))));
+disp(G,"G(s)=");
+x=plzr(G)
+xtitle('pole-zero_configuration','Real_part','Img_part');
+// value at s=2
+a=2;
+g=(1/2*((a^2+4)*(1+2.5*a))/((a^2+2)*(1+0.5*a)));
+disp(g,"G(2)=");
|