summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.5c/Exa_8_5c.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.5c/Exa_8_5c.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.5c/Exa_8_5c.sce')
-rwxr-xr-x40/CH8/EX8.5c/Exa_8_5c.sce12
1 files changed, 6 insertions, 6 deletions
diff --git a/40/CH8/EX8.5c/Exa_8_5c.sce b/40/CH8/EX8.5c/Exa_8_5c.sce
index bc4c62f5d..b7214bd03 100755
--- a/40/CH8/EX8.5c/Exa_8_5c.sce
+++ b/40/CH8/EX8.5c/Exa_8_5c.sce
@@ -1,7 +1,7 @@
-//Regular convolution
-xn=[1 2 1 0];
-yn=[1 2 1 0 0 0 0];
-YDFT=dft(yn,-1)
-SDFT=YDFT.*YDFT
-sn=dft(SDFT,1)
+//Regular convolution
+xn=[1 2 1 0];
+yn=[1 2 1 0 0 0 0];
+YDFT=fft(yn,-1)
+SDFT=YDFT.*YDFT
+sn=fft(SDFT,1)
sn1=convol(xn,xn) \ No newline at end of file