Interplay of fft, ifft, fftshift, and ifftshift in MATLAB

This file clarifies assumptions about the position of origin in computation of DFT

1.8K Downloads

Updated 11 May 2011

View License

This script was used to publish a post by the same title:
http://www.mshalin.com/blog/?p=467, where I tried to clarify the assumptions made in computation of DFT (by FFT algorithm). These assumptions have important consequences. This script takes the example of obtaining real and even Fourier/inverse Fourier transform from a real and even function.

Cite As

Shalin Mehta (2023). Interplay of fft, ifft, fftshift, and ifftshift in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/26196-interplay-of-fft-ifft-fftshift-and-ifftshift-in-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

I have moved my blog (that was linked in the description). I have updated a link to the blog.

1.0.0.0