Effacer les filtres
Effacer les filtres

hermitian symmetry in IFFT !

10 vues (au cours des 30 derniers jours)
rahman
rahman le 7 Sep 2013
Hi all. I have a matrix as a 2D spectrum. now, I want to transform it to time domain. when I use IFFT, the results are complex numbers, but it should be real numbers! so I have to have hermitain symmetry. how can i do that?
  3 commentaires
rahman
rahman le 9 Sep 2013
it is about the real part.
Walter Roberson
Walter Roberson le 9 Sep 2013
Can you create a small example?
Are you doing anything between the fft and ifft ?

Connectez-vous pour commenter.

Réponses (2)

Honglei Chen
Honglei Chen le 9 Sep 2013
If it is some small imaginary part due to numerical precisions, you can probably preprocess your input to IFFT by doing
x = (x+x')/2
This makes x Hermitian

Jakob Ameres
Jakob Ameres le 24 Mai 2016
Use the symmetric flag for the ifft.
ifft( data, [], dim, 'symmetric')

Community Treasure Hunt

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

Start Hunting!

Translated by