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 --- 716/CH7/EX7.1.a/Solved_Ex_7_1a.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 716/CH7/EX7.1.a/Solved_Ex_7_1a.sce (limited to '716/CH7/EX7.1.a') diff --git a/716/CH7/EX7.1.a/Solved_Ex_7_1a.sce b/716/CH7/EX7.1.a/Solved_Ex_7_1a.sce new file mode 100755 index 000000000..526e44331 --- /dev/null +++ b/716/CH7/EX7.1.a/Solved_Ex_7_1a.sce @@ -0,0 +1,10 @@ +//determine z transform of x(n)={3,2,5,7} +clc; +clear; +x={3,2,5,7}; +z=poly(0,"z"); +X=0; +for n=1:1:4 + X=X+x(n).*(z^(-1*(n-1))); +end +disp(X,"Z tranform="); \ No newline at end of file -- cgit