summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.1/Exa_8_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '40/CH8/EX8.1/Exa_8_1.sce')
-rwxr-xr-x40/CH8/EX8.1/Exa_8_1.sce10
1 files changed, 5 insertions, 5 deletions
diff --git a/40/CH8/EX8.1/Exa_8_1.sce b/40/CH8/EX8.1/Exa_8_1.sce
index 000b8b907..ab20fffa1 100755
--- a/40/CH8/EX8.1/Exa_8_1.sce
+++ b/40/CH8/EX8.1/Exa_8_1.sce
@@ -1,6 +1,6 @@
-//DFT from defining relation
-//N-point DFT
-x=[1 2 1 0];
-XDFT=dft(x,-1);
-disp(XDFT,'The DFT of x[n] is');
+//DFT from defining relation
+//N-point DFT
+x=[1 2 1 0];
+XDFT=fft(x,-1);
+disp(XDFT,'The DFT of x[n] is');
//DFT of periodic signal x with period N=4 \ No newline at end of file