how to filter out a particular region from a fourier transformed data?

6 views (last 30 days)
Hi.
I have a data of frequency vs intensity, which I have inverse fourier transformed(IFFT) into time domain. my function is real and it has two frequency components, so in time domain I got two peaks, a zero time component and a time delayed component. Now, I want to use some kind of window to my IFFT data to filter out the zero time component. In the next step I want to fourier transform (FFT) back into frequency domain to get the actual frequency so I don't want any artifacts of the window I choose, eg, if I chose to use a step function I am getting a sync function after the FFT. How to do it ? any suggestions?

Answers (1)

Image Analyst
Image Analyst on 20 Oct 2013
This does not make sense, to me at least. If you have exactly and only two components in the Fourier domain (and the rest are zero) then you should have the sum of two sine waves in the time domain. You should not have two spikes in the time domain. So there's a problem with your description.
OK, ignoring that for the moment, if you do have two spikes in the time domain, and you zero out the one at time 0, then you'll have just one spike left. If that spike is narrow, basically a delta function, then you'll get a constant in the Fourier domain. If the spike widens out so that it is a rect function, then you'll get a sinc function in the Fourier domain. The wider the time domain rect gets, the narrower the sinc in the Fourier domain, and the narrower the time domain rect gets, the wider the sinc in the Fourier domain gets, until you get to the extreme of an infinitely narrow rect (delta function) and an infinitely wide sinc (which is a constant) like I mentioned earlier.
So from all the inaccuracies in your description, I don't really know what the situation is or what you want to filter out. Perhaps you can attach code or screenshots (use the image and paperclip icons).

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!