How to get rid of the complex part from the result of the inverse Fourier transform of a real-valued signal?

4 次查看(过去 30 天)
After applying the inverse Fourier transform to real-valued signal I have got , as expected, complex numbers. But, I would like only the real part of the result to form the signal. Could someone give some help in this matter? Many thanks, Massilon.

采纳的回答

Adam
Adam 2017-6-15
result = real( ifft( ... ) );

更多回答(1 个)

Star Strider
Star Strider 2017-6-15
Just taking the real part of your transformed data eliminates half of it. I would use the abs function instead (that uses the real and imaginary parts of your transformed data), if you want only real results.

Community Treasure Hunt

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

Start Hunting!

Translated by