I use r2c function to transfer a Guassian distribution. But the image part of the result are all zero. Is this correct? array[nx][ny]=> nx=ny=even; the result is http://vda.ee.nctu.edu.tw/~zues/1.bmp but the result should be (I run in matlab) http://vda.ee.nctu.edu.tw/~zues/1.bmp Appreciate your help!!!

# About some problem in 2D FFTW

Started by ●May 1, 2006

Reply by ●May 1, 20062006-05-01

zues wrote:> I use r2c function to transfer a Guassian distribution. > But the image part of the result are all zero.See Q3.16 in the FFTW FAQ.

Reply by ●May 2, 20062006-05-02

I use ESTIMATE,so the problem is not here. The program output is not zero. But the image part of the output is zero.>zues wrote: >> I use r2c function to transfer a Guassian distribution. >> But the image part of the result are all zero. > >See Q3.16 in the FFTW FAQ. > >

Reply by ●May 3, 20062006-05-03