Problems with ifft in general

10 次查看(过去 30 天)
Bran
Bran 2014-5-7
评论: Bran 2014-5-8
I am having great difficulty using ifft. Basically when I use it on my original spectrum I do indeed get back to my original signal in the time domain, however, when I 'clean up' my spectra (Taking out all peaks from noise) and then apply ifft I get back to a singal that makes no sense in the time domain. Any idea what could be going wrong.
  1 个评论
Honglei Chen
Honglei Chen 2014-5-7
It's hard to judge without context, could you post some figures or code snippet?

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2014-5-7
编辑:Image Analyst 2014-5-7
Do you know what spikes in the Fourier domain mean? It means that there is periodic information back in the time domain. Whether that periodic structure in the signal or image is noise or not depends on what you want your image to look like.
Usually people post their image or a screenshot of their signal or something to help us visualize what you're talking about. You have not posted anything so you cannot get much help yet until you do.
  1 个评论
Bran
Bran 2014-5-8
Hi there both! Man apologies for not supplying enough information! So OK my signal is of someone running and so the spectra originally looked like it does in the first image. So I decided to look at the intensities of the fundamental and harmonics. I then accepted those over 186 and so i was left with just four peaks and I 'zero' everything else. Then on this data I used ifft but I do not get back to my original signal or anything similar really. I get the second image attached.
Really apologies for such little info and thanks guy for pointing it out :D

请先登录,再进行评论。


Bran
Bran 2014-5-8
Hi there both! Man apologies for not supplying enough information! So OK my signal is of someone running and so the spectra originally looked like it does in the first image. So I decided to look at the intensities of the fundamental and harmonics. I then accepted those over 186 and so i was left with just four peaks and I 'zero' everything else. Then on this data I used ifft but I do not get back to my original signal or anything similar really. I get the second image attached.
Really apologies for such little info and thanks guy for pointing it out :D
  2 个评论
Star Strider
Star Strider 2014-5-8
What does your original signal look like?
Bran
Bran 2014-5-8
It is meant to look like this. One thing that came to mind was Gibbs??

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by