Physical meaning of ifftshift?

  • Thread starter vivek.iitd
  • Start date
  • #1
54
0
I am using ifftshift function in matlab, mathematically it does the following functions

If M is a row matrix:
M = 1 2 3 4 5 6 7 8;

then ifftshift(M) = 5 6 7 8 1 2 3 4, i.e. it replaces first half with the second half. Although how can be explain this function physically?
 

Answers and Replies

  • #2
AlephZero
Science Advisor
Homework Helper
7,002
293
The ifftshift function undoes the effect of fftshift function.

The purpose of fftshift is to put the zero frequency in the center of the frequency spectrum from an FFT, rather than at the left hand end. In other words, you want to interpret the FFT as covering a frequency range from -f/2 to +f/2, not from 0 to f.

None of this has much "phyiscal" significance, but it's useful for producing plots in the form you want to see them.
 
  • #3
54
0
Okay it is just to arrange frequencies. Thank you.
 

Related Threads on Physical meaning of ifftshift?

  • Last Post
Replies
4
Views
3K
Replies
7
Views
888
Replies
2
Views
3K
Replies
9
Views
7K
Replies
3
Views
5K
  • Last Post
Replies
1
Views
2K
  • Last Post
2
Replies
25
Views
3K
Replies
4
Views
7K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
0
Views
896
Top