summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.5c/Exa_8_5c.sce
diff options
context:
space:
mode:
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