summaryrefslogtreecommitdiff
path: root/830/CH5/EX5.1.3/DFT2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /830/CH5/EX5.1.3/DFT2.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
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