summaryrefslogtreecommitdiff
path: root/830/CH6/EX6.8
diff options
context:
space:
mode:
Diffstat (limited to '830/CH6/EX6.8')
-rwxr-xr-x830/CH6/EX6.8/FFT_Exercise1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/830/CH6/EX6.8/FFT_Exercise1.sce b/830/CH6/EX6.8/FFT_Exercise1.sce
new file mode 100755
index 000000000..54ed73fe4
--- /dev/null
+++ b/830/CH6/EX6.8/FFT_Exercise1.sce
@@ -0,0 +1,11 @@
+//Graphical//
+//Exercise 6.8
+//Program to Calculate DFT using DIF-FFT algorithm
+//x[n]= 1, 0<=n<=7
+clear;
+clc;
+close;
+x = [1,1,1,1,1,1,1,1];
+X = fft(x,-1)
+//Inverse FFT
+x_inv = real(fft(X,1))