hermitian symmetry in IFFT !

6 次查看(过去 30 天)
rahman
rahman 2013-9-7
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 个评论
rahman
rahman 2013-9-9
it is about the real part.
Walter Roberson
Walter Roberson 2013-9-9
Can you create a small example?
Are you doing anything between the fft and ifft ?

请先登录,再进行评论。

回答(2 个)

Honglei Chen
Honglei Chen 2013-9-9
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 2016-5-24
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