summaryrefslogtreecommitdiff
path: root/830/CH5/EX5.1.3/DFT2.sce
diff options
context:
space:
mode:
Diffstat (limited to '830/CH5/EX5.1.3/DFT2.sce')
-rwxr-xr-x830/CH5/EX5.1.3/DFT2.sce26
1 files changed, 13 insertions, 13 deletions
diff --git a/830/CH5/EX5.1.3/DFT2.sce b/830/CH5/EX5.1.3/DFT2.sce
index f95069679..a9178f3db 100755
--- a/830/CH5/EX5.1.3/DFT2.sce
+++ b/830/CH5/EX5.1.3/DFT2.sce
@@ -1,13 +1,13 @@
-//Graphical//
-//Example 5.1.3
-//Finding DFT and IDFT
-clear;
-clc;
-close;
-L = 4; // Length of the sequence
-N = 4; // N -point DFT
-x = [0,1,2,3];
-//Computing DFT
-X = dft(x,-1)
-//Computing IDFT
-x_inv = real(dft(X,1))
+//Graphical//
+//Example 5.1.3
+//Finding DFT and IDFT
+clear;
+clc;
+close;
+L = 4; // Length of the sequence
+N = 4; // N -point DFT
+x = [0,1,2,3];
+//Computing DFT
+X = fft(x,-1)
+//Computing IDFT
+x_inv = real(fft(X,1)) \ No newline at end of file