summaryrefslogtreecommitdiff
path: root/716/CH7/EX7.1.a/Solved_Ex_7_1a.sce
diff options
context:
space:
mode:
Diffstat (limited to '716/CH7/EX7.1.a/Solved_Ex_7_1a.sce')
-rwxr-xr-x716/CH7/EX7.1.a/Solved_Ex_7_1a.sce10
1 files changed, 10 insertions, 0 deletions
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