From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 40/CH8/EX8.5c/Exa_8_5c.sce | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '40/CH8/EX8.5c/Exa_8_5c.sce') 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 -- cgit