multiple non uniform distributions most common values identification

3 次查看(过去 30 天)
I need to find the most common values from the 3 main distributions (see figure) from dataInput2.
The code below computes the wrong bins (1-2-3) because the distributions are not normal. Any ideas how I could get the values A-B-C instead? (see figure).....Distributions can change limits, so defining boundaries is not an option
[counts, edges] = histcounts(dataInput2(:,i),500);
temp = sort( edges, 'descend' );
spinPeaks = temp(1:injec);

采纳的回答

Image Analyst
Image Analyst 2018-10-5
Call findpeaks() on counts().
By the way, why is B not at "2"?
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by