Peak finding and segmentation
Show older comments
I have a problem with the peaks of a vector. All help will be appreciated.
Consider a vector of 1280 values which has a initial plot diagram below;

i only want to find two highest peak, segment and preserve the related values while tuning the other little peaks into zeroes like in the figure below.

Thank you so much in advance.
1 Comment
Youssef Khmou
on 24 Dec 2013
Edited: Youssef Khmou
on 24 Dec 2013
did you try some existing peak detection algorithms? this seems like a difficult test, if the result is based on random events, can you use Monte Carlo trials and average them to get a smooth function?
Accepted Answer
More Answers (0)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!