Azzera filtri
Azzera filtri

hermitian symmetry in IFFT !

10 visualizzazioni (ultimi 30 giorni)
rahman
rahman il 7 Set 2013
Risposto: Jakob Ameres il 24 Mag 2016
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 Commenti
rahman
rahman il 9 Set 2013
it is about the real part.
Walter Roberson
Walter Roberson il 9 Set 2013
Can you create a small example?
Are you doing anything between the fft and ifft ?

Accedi per commentare.

Risposte (2)

Honglei Chen
Honglei Chen il 9 Set 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 il 24 Mag 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