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.6 | |
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.6')
-rwxr-xr-x | 22/CH5/EX5.6/ch5ex6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/22/CH5/EX5.6/ch5ex6.sce b/22/CH5/EX5.6/ch5ex6.sce new file mode 100755 index 000000000..7ea80247f --- /dev/null +++ b/22/CH5/EX5.6/ch5ex6.sce @@ -0,0 +1,19 @@ +//LTi Systems characterized by Linear Constant
+//Coefficient Difference equations
+//Inverse Z Transform
+//z = %z;
+syms n z;
+H1 = (2/3)/(z+0.2);
+H2 = (8/3)/(z+0.8);
+H3 = (2)/(z+0.5);
+F1 = H1*z^(n)*(z+0.2);
+F2 = H2*z^(n)*(z+0.8);
+F3 = H3*z^(n)*(z+0.5);
+h1 = limit(F1,z,-0.2);
+disp(h1,'h1[n]=')
+h2 = limit(F2,z,-0.8);
+disp(h2,'h2[n]=')
+h3 = limit(F3,z,-0.5);
+disp(h3,'h3[n]=')
+h = h1-h2+h3;
+disp(h,'h[n]=')
\ No newline at end of file |