diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /22/CH5/EX5.3.a | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '22/CH5/EX5.3.a')
-rwxr-xr-x | 22/CH5/EX5.3.a/ch5ex3a.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/22/CH5/EX5.3.a/ch5ex3a.sce b/22/CH5/EX5.3.a/ch5ex3a.sce new file mode 100755 index 000000000..83a9b7c66 --- /dev/null +++ b/22/CH5/EX5.3.a/ch5ex3a.sce @@ -0,0 +1,16 @@ +//signals and systems
+//Inverse Z Transform:ROC |z|>1/3
+z = %z;
+syms n z1;//To find out Inverse z transform z must be linear z = z1
+X =(8*z-19)/((z-2)*(z-3))
+X1 = denom(X);
+zp = roots(X1);
+X1 = (8*z1-19)/((z1-2)*(z1-3))
+F1 = X1*(z1^(n-1))*(z1-zp(1));
+F2 = X1*(z1^(n-1))*(z1-zp(2));
+h1 = limit(F1,z1,zp(1));
+disp(h1,'h1[n]=')
+h2 = limit(F2,z1,zp(2));
+disp(h2,'h2[n]=')
+h = h1+h2;
+disp(h,'h[n]=')
\ No newline at end of file |