Suggest a filter to remove the noise from the signal
1 view (last 30 days)
Show older comments
Gova ReDDy
on 18 Sep 2013
Commented: Image Analyst
on 20 Nov 2013
Can someone suggest a filter to remove the noise from the signal shown in this image (with the sampling rate being 500)?
2 Comments
Jan
on 18 Sep 2013
Edited: Jan
on 18 Sep 2013
On imageshack I see a large banner in the foreground, which wants me to click on a "Enter to win" button, as far as I understand. The small [x] on the top right does not close the banner. I hate such stuff.
@GovaReDDy: It is not your fault. TMW hsitates for years to allow storing pictures on their server. But this is the only location where pictures concerning the forum should be hosted.
Accepted Answer
Image Analyst
on 19 Sep 2013
I'd try a modified median filter
% Take median filter.
medianFilteredSignal = medfilt2(signal, [1,3]);
% Find where signal is bad
badElements = signal < 400 | signal > 900;
% Replace bad elements with median filtered values.
noiseFreeSignal = signal; % Initialize.
noiseFreeSignal(badElements) = medianFilteredSignal(badElements); % Do the replacement
10 Comments
More Answers (1)
Jan
on 18 Sep 2013
It is impossible to suggest a filter based on the information of the sample frequency only. We cannot know the nature of the noise and of the wanted signal. You could be interested in low or high frequencies or in a specific band. But the filter parameters must depend on these details. So please provide more information.
2 Comments
Jan
on 19 Sep 2013
It matters if you have some peaks only, or if a frequency spectrum of the noise is know, if you know the frequency spectrum of the wanted signal and can suppress anything outside it.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!