summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.7/Exa_8_7.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.7/Exa_8_7.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.7/Exa_8_7.sce')
-rwxr-xr-x40/CH8/EX8.7/Exa_8_7.sce14
1 files changed, 7 insertions, 7 deletions
diff --git a/40/CH8/EX8.7/Exa_8_7.sce b/40/CH8/EX8.7/Exa_8_7.sce
index 9d9c9e16d..6a7f5a57c 100755
--- a/40/CH8/EX8.7/Exa_8_7.sce
+++ b/40/CH8/EX8.7/Exa_8_7.sce
@@ -1,7 +1,7 @@
-//relating DFT and IDFT
-XDFT1=[4 -2*%i 0 2*%i];
-xn1=dft(XDFT1,1);
-disp(xn1,'The IDFT of XDFT1');
-XDFT2=[12 -24*%i 0 4*%e^(%i*%pi/4) 0 4*%e^(-%i*%pi/4) 0 24*%i];
-xn2=dft(XDFT2,1);
-disp(xn2,'The IDFT of XDFT1'); \ No newline at end of file
+//relating DFT and IDFT
+XDFT1=[4 -2*%i 0 2*%i];
+xn1=fft(XDFT1,1);
+disp(xn1,'The IDFT of XDFT1');
+XDFT2=[12 -24*%i 0 4*%e^(%i*%pi/4) 0 4*%e^(-%i*%pi/4) 0 24*%i];
+xn2=fft(XDFT2,1);
+disp(xn2,'The IDFT of XDFT1'); \ No newline at end of file