Clear Filters
Clear Filters

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

4 views (last 30 days)
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.

Accepted Answer

Adam
Adam on 15 Jun 2017
result = real( ifft( ... ) );

More Answers (1)

Star Strider
Star Strider on 15 Jun 2017
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!