summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.5c/Exa_8_5c.sce
blob: bc4c62f5d33eed04809c1de59db9fe7ee3603aee (plain)
1
2
3
4
5
6
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)
sn1=convol(xn,xn)