Why should I use 2 fftshift?
Afficher commentaires plus anciens
Hello if I have signal x (in time domain).
I saw that sometimes people do fftshift(fft(ffshift(x))). Now, I understand the usage of fftshift to move the DC to the center. But what's the reasoning behind using fftshift twice?
Seems to me that fftshift(fft(x)), should be enough.
Am I missing something here?
Thanks
Réponses (1)
Walter Roberson
le 31 Juil 2015
0 votes
You can test it yourself to see if the two are equal.
The magnitudes of the two are equal, but the real and imaginary components are different.
1 commentaire
moose
le 1 Août 2015
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!