Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6956 Discussions

How to shift zero frequency with 2d fftw data

bin_z_
Beginner
338 Views

Hi,gays! I do  SFFTW_PLAN_DFT_R2C_2D(FFTW_PLAN,nx,ny,density,fft,FFTW_ESTIMATE) and then get a complex array fft(ny/2+1,nx)! I try to shift the  zero frequency to the center but failed! Who can tell me how to  shift zero frequency on  fft(ny/2+1,nx)?

Thanks!

0 Kudos
0 Replies
Reply