summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.7/Exa_8_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /40/CH8/EX8.7/Exa_8_7.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '40/CH8/EX8.7/Exa_8_7.sce')
-rwxr-xr-x40/CH8/EX8.7/Exa_8_7.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/40/CH8/EX8.7/Exa_8_7.sce b/40/CH8/EX8.7/Exa_8_7.sce
new file mode 100755
index 000000000..9d9c9e16d
--- /dev/null
+++ b/40/CH8/EX8.7/Exa_8_7.sce
@@ -0,0 +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