summaryrefslogtreecommitdiff
path: root/52/CH3/EX3.4/Example3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '52/CH3/EX3.4/Example3_4.sce')
-rwxr-xr-x52/CH3/EX3.4/Example3_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/52/CH3/EX3.4/Example3_4.sce b/52/CH3/EX3.4/Example3_4.sce
new file mode 100755
index 000000000..9b8af1d59
--- /dev/null
+++ b/52/CH3/EX3.4/Example3_4.sce
@@ -0,0 +1,11 @@
+//Example 3.4
+//Program to Compute the IDFT of the Sequence X[k]=[5,0,1-j,0,1,0,1+j,0]
+clear;
+clc ;
+close ;
+j=sqrt(-1);
+X = [5,0,1-j,0,1,0,1+j,0]
+//IDFT Computation
+x = fft (X , 1);
+//Display sequences x[n]in command window
+disp(x,"x[n]=");