MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Correct use of fftshift and ifftshift at inpu tto ... 

Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Chris Bore Date: 23 Jun, 2010 09:10:08 Message: 1 of 7 
I've seen discussion here of the correct use of MATLAB's fftshift() function. 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Greg Heath Date: 23 Jun, 2010 16:00:02 Message: 2 of 7 
On Jun 23, 5:10 am, "Chris Bore" <chris_b...@yahoo.co.uk> wrote: 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Greg Heath Date: 23 Jun, 2010 16:30:32 Message: 3 of 7 
On Jun 23, 5:10 am, "Chris Bore" <chris_b...@yahoo.co.uk> wrote: 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Chris Bore Date: 23 Jun, 2010 17:29:04 Message: 4 of 7 
Hello Greg, 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Greg Heath Date: 23 Jun, 2010 17:49:14 Message: 5 of 7 
On Jun 23, 1:29 pm, "Chris Bore" <chris_b...@yahoo.co.uk> wrote: 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Du Huynh Date: 4 Jun, 2012 07:09:06 Message: 6 of 7 
I always avoid to use fftshift and ifftshift as much as I can. If you pass a 2D image to the fft2 function, then the output 2D array always has the DC term at the first element position (i.e., the topleft corner of the 2D array for the rowcolumn coordinate system). If all the frequencydomain filters that you design have the DC terms at the same position, then you don't need to use fftshift or ifftshift. I would use fftshift only if I want to visualize the Fourier spectrum of my image. 
Subject: Correct use of fftshift and ifftshift at inpu tto fft and ifft From: Yuji Zhang Date: 11 May, 2013 05:11:08 Message: 7 of 7 

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.