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 /1592/CH2/EX2.38.b/example_2_38_ii_.sce | |
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 '1592/CH2/EX2.38.b/example_2_38_ii_.sce')
-rwxr-xr-x | 1592/CH2/EX2.38.b/example_2_38_ii_.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1592/CH2/EX2.38.b/example_2_38_ii_.sce b/1592/CH2/EX2.38.b/example_2_38_ii_.sce new file mode 100755 index 000000000..457edbdad --- /dev/null +++ b/1592/CH2/EX2.38.b/example_2_38_ii_.sce @@ -0,0 +1,17 @@ +//Scilab Code for Example 2.38(ii) of Signals and systems by
+//P.Ramakrishna Rao
+//Inverse Z Transform:ROC |z|>2
+clear;
+clc;
+z = %z;
+syms n z1;
+//To find out Inverse z transform z must be linear z = z1
+X =(z+1)/(z^2+5*z+4)
+X1 = denom(X);
+zp = roots(X1)
+X1 = 1/(z1+4);
+F1 = X1*(z1^(n))*(z1-zp(1));
+h1 = limit(F1,z1,zp(1))
+disp(-(h1)*'u(-n-1)','h[n]=');
+////Result
+// h[n]= (- (- 4)^n)*u(-n-1)
|