Suggest a filter to remove the noise from the signal

2 views (last 30 days)
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
Jan on 18 Sep 2013
As usual I do not see anything on tinypic.
Jan
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.

Sign in to comment.

Accepted Answer

Image Analyst
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
Manjuri
Manjuri on 20 Nov 2013
problem has occured can give the details about noise separation from signal
Image Analyst
Image Analyst on 20 Nov 2013
I don't understand the above comment or question by Manjuri.

Sign in to comment.

More Answers (1)

Jan
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
Gova ReDDy
Gova ReDDy on 18 Sep 2013
Edited: Gova ReDDy on 18 Sep 2013
So, as shown in the link the signal is containing noise which is labeled with red colour.Any suggestion to remove this kind of noise. Thanks in Advance.
Jan
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!