what method should i use to remove the noise?
Show older comments

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
on 24 Sep 2013
0 votes
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.
Anand
on 24 Sep 2013
0 votes
Try a moving average filter using the smooth function. I think this function is part of the Curve Fitting Toolbox.
Categories
Find more on Smoothing and Denoising 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!