Re: Filtering signal with rapid changes with FFT
- From: "juho salminen" <jssalmi3@xxxxxxxxx>
- Date: Tue, 4 Aug 2009 09:26:01 +0000 (UTC)
"Lorenzo Guerrasio" <lorenzo.guerrasio@xxxxxxxx> wrote in message <h58ph7$ivr$1@xxxxxxxxxxxxxxxxxx>...
"juho salminen" <jssalmi3@xxxxxxxxx> wrote in message <h58mu4$2o2$1@xxxxxxxxxxxxxxxxxx>...
Hi guys,
I'm newbie with signal processing who is trying to implement fft to signal filtering. My problem is following:
My signal is sinusoidial Wave with noise added in it. Wave is decreasing as time passes by.
My current filtering technique is following: I make FFT of signal, take highest peak from FFT, and cut every sample in frequency domain into 0 except highest peak.
Then I just make ifft of signal.
This technique suits well for stationary sine wave, but when sine's amplitude changes rapidly with time, it seems that when signal is reversed back to time domain, some distortion to amplitudes of reversed signal is introduced. In my application, I need to get amplitudes of signals very accurately!
Basicly, what I'm trying is to make filter, which would not make any phase delay for signal, and would fit for signals with different frequencies...
Is there any other ways to do this kind of filter?
Could you guys also make some example code also? My signal processing knowledge is basicly 0
Thanks,
-Juho
When you multiply (take away) in frequency, you are convolving in time -->high risk of distortion. What you can do is to use FFT to find the peak of the noise and then apply a notch filter.
However, everything depends on the noise features.
Regarding fase distortion, you could use filtfilt
"What you can do is to use FFT to find the peak of the noise and then apply a notch filter"
Why a notch filter? Isn't it the same than basicly remove all the noise samples away? Now I'm saving just one peak in frequency domain, I delete everything else. "Peak of the noise" is in this case everything but that peak
My noise is normally distributed (randn-function)
Can you give me an example signal and example of how to use filtfilt-function with this kind of signal so, that there is no amplitude of phase distortion?
Thanks for all the effort!
-Juho
.
- References:
- Filtering signal with rapid changes with FFT
- From: juho salminen
- Re: Filtering signal with rapid changes with FFT
- From: Lorenzo Guerrasio
- Filtering signal with rapid changes with FFT
- Prev by Date: Missing parameter in Java function when called from matlab
- Next by Date: Create log for timestamp
- Previous by thread: Re: Filtering signal with rapid changes with FFT
- Next by thread: Re: Filtering signal with rapid changes with FFT
- Index(es):
Relevant Pages
|
Loading