summaryrefslogtreecommitdiff
path: root/52/CH2/EX2.4/Example2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '52/CH2/EX2.4/Example2_4.sce')
-rwxr-xr-x52/CH2/EX2.4/Example2_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/52/CH2/EX2.4/Example2_4.sce b/52/CH2/EX2.4/Example2_4.sce
new file mode 100755
index 000000000..bc0802459
--- /dev/null
+++ b/52/CH2/EX2.4/Example2_4.sce
@@ -0,0 +1,12 @@
+//Example 2.4
+//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
+//Z- transform of a^n u(n)
+clear;
+clc ;
+close ;
+syms a n z;
+x =a^n
+X= symsum (x*(z^(-n)),n ,0, %inf );
+//Display the result in command window
+disp (X,"Z-transform of a^n u(n) with is:");
+disp('ROC is the Region mod(z) > a') \ No newline at end of file