diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2303/CH4/EX4.3/4_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2303/CH4/EX4.3/4_3.sce')
-rwxr-xr-x | 2303/CH4/EX4.3/4_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2303/CH4/EX4.3/4_3.sce b/2303/CH4/EX4.3/4_3.sce new file mode 100755 index 000000000..a92e98916 --- /dev/null +++ b/2303/CH4/EX4.3/4_3.sce @@ -0,0 +1,17 @@ +//Example 4.3
+//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
+
+clear;
+clc ;
+close ;
+
+j=sqrt(-1);
+syms w n z T j;
+f1=exp(j*w*T*n);
+F1=symsum(f1*(z^-n),n,0,%inf);
+f2=exp(-j*w*T*n);
+F2=symsum(f2*(z^-n),n,0,%inf);
+F=(F1-F2)/(2*j);
+//Display the result in command window
+disp (F,"Z-transform of sin(n*w*T) u(n) is:");
+disp('ROC is the Region mod(z) > 1);
|