I'm trying to do a convolution with two matrices. Therefore I'm using the function zfft2d to transform the two matrices, that probably works fine. Then I multiply the results pointwise and use zfft2d to get the inverse fft. This should be my result for the convolution. But it doesn't work. Has anyone an idea?
If I'm doing the convolution by "hand" I just get another result, I already tried to fill the matrices with zeros up, but that doesn't work either.