summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.2/Exa_8_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /40/CH8/EX8.2/Exa_8_2.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 '40/CH8/EX8.2/Exa_8_2.sce')
-rwxr-xr-x40/CH8/EX8.2/Exa_8_2.sce10
1 files changed, 5 insertions, 5 deletions
diff --git a/40/CH8/EX8.2/Exa_8_2.sce b/40/CH8/EX8.2/Exa_8_2.sce
index 39450d7f1..716bed88b 100755
--- a/40/CH8/EX8.2/Exa_8_2.sce
+++ b/40/CH8/EX8.2/Exa_8_2.sce
@@ -1,6 +1,6 @@
-//The DTFT and conjugate symmetry
-//8-point DFT
-x=[1 1 0 0 0 0 0 0];
-XDFT=dft(x,-1);
-disp(XDFT,'The DFT of x is');
+//The DTFT and conjugate symmetry
+//8-point DFT
+x=[1 1 0 0 0 0 0 0];
+XDFT=fft(x,-1);
+disp(XDFT,'The DFT of x is');
disp('from conjugate symmetry we see XDFT[k]=XDFT[8-k]'); \ No newline at end of file