필터 지우기
필터 지우기

hermitian symmetry in IFFT !

조회 수: 10 (최근 30일)
rahman
rahman 2013년 9월 7일
답변: Jakob Ameres 2016년 5월 24일
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