what method should i use to remove the noise?

1 view (last 30 days)
yihui
yihui on 24 Sep 2013
how to smooth the signal then make it very clear at the top only one peak.(i use a(k)>a(k-1) &a(k)>a(k+1) to find the point i want,with the original signal,if i use this method,i'll get many points that are not what i want,therefore i just what to have the smooth signal) thanks in advance

Answers (2)

Image Analyst
Image Analyst on 24 Sep 2013
Do you have the Image Processing Toolbox? If so use imdilate(). It's a sliding maximum filter. It slides a window along, of specified length such as 3 elements, and the output is the highest value inside the window.
  1 Comment
yihui
yihui on 24 Sep 2013
i have try smooth(),medifilt,but the signal is not as smooth as i want.is it possible to make this signal look like sin wave which is very smooth and clear only have the one peak at the top?

Sign in to comment.


Anand
Anand on 24 Sep 2013
Try a moving average filter using the smooth function. I think this function is part of the Curve Fitting Toolbox.

Community Treasure Hunt

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

Start Hunting!