summaryrefslogtreecommitdiff
path: root/52/CH5/EX5.11/Example5_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /52/CH5/EX5.11/Example5_11.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '52/CH5/EX5.11/Example5_11.sce')
-rwxr-xr-x52/CH5/EX5.11/Example5_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/52/CH5/EX5.11/Example5_11.sce b/52/CH5/EX5.11/Example5_11.sce
new file mode 100755
index 000000000..7dcefcda2
--- /dev/null
+++ b/52/CH5/EX5.11/Example5_11.sce
@@ -0,0 +1,16 @@
+//Example 5.11
+//To Design the Filter using Impulse Invarient Method
+clear;
+clc ;
+close ;
+s=%s;
+T=1;
+HS=(2)/(s^2+3*s+2);
+elts=pfss(HS);
+disp(elts,'Factorized HS = ');
+//The poles comes out to be at -2 and -1
+p1=-2;
+p2=-1;
+z=%z;
+HZ=(2/(1-%e^(p2*T)*z^(-1)))-(2/(1-%e^(p1*T)*z^(-1)))
+disp(HZ,'HZ = '); \ No newline at end of file