From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 52/CH5/EX5.11/Example5_11.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 52/CH5/EX5.11/Example5_11.sce (limited to '52/CH5/EX5.11/Example5_11.sce') 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 -- cgit