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/CH2/EX2.53.a/Example2_53_a.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 52/CH2/EX2.53.a/Example2_53_a.sce (limited to '52/CH2/EX2.53.a') 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 -- cgit