summaryrefslogtreecommitdiff
path: root/2303/CH4/EX4.2/4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2303/CH4/EX4.2/4_2.sce')
-rwxr-xr-x2303/CH4/EX4.2/4_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2303/CH4/EX4.2/4_2.sce b/2303/CH4/EX4.2/4_2.sce
new file mode 100755
index 000000000..e409d2a06
--- /dev/null
+++ b/2303/CH4/EX4.2/4_2.sce
@@ -0,0 +1,17 @@
+//Example 4.2
+//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
+
+clear;
+clc ;
+close ;
+syms n z a;
+f =e^(-n*a*T);
+F= symsum (f*(z^(-n)),n ,0, %inf );
+
+//Display the result in command window
+disp (F,"Z-transform of e^(-a*n*T)u(n) is:");
+disp('ROC is the Region mod(z) > mod(e^(-a*T))');
+disp('Case 1: a is real ');
+disp('ROC is the Region mod(z) > e^(-a*T)');
+disp('Case 2: a is imaginary ');
+disp('ROC is the Region mod(z) > 1');