summaryrefslogtreecommitdiff
path: root/52/CH2/EX2.53.a
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /52/CH2/EX2.53.a
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/CH2/EX2.53.a')
-rwxr-xr-x52/CH2/EX2.53.a/Example2_53_a.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/52/CH2/EX2.53.a/Example2_53_a.sce b/52/CH2/EX2.53.a/Example2_53_a.sce
new file mode 100755
index 000000000..7bc4991f5
--- /dev/null
+++ b/52/CH2/EX2.53.a/Example2_53_a.sce
@@ -0,0 +1,14 @@
+//Example 2.53 (a)
+//Z- transform of [3 1 2 5 7 0 1]
+clear;
+clc ;
+close ;
+function[za]=ztransfer(sequence,n)
+z=poly(0,'z','r')
+za=sequence*(1/z)^n'
+endfunction
+x1=[3 1 2 5 7 0 1];
+n=-3:3;
+zz=ztransfer(x1,n);
+//Display the result in command window
+disp (zz,"Z-transform of sequence is:"); \ No newline at end of file