how can I count modal class of histogram?

조회 수: 2 (최근 30일)
jack nn
jack nn 2016년 6월 13일
답변: Andrew Bliss 2016년 6월 13일
hi
how can we count modal class of histograms? sometimes some histograms have two or more modals and these modals are near to each other. for example in below image.
in these histograms how we can count the modals of the histogram? I think maybe we have 4 modals...like below. Am I right? or we have just 2 modals? can you guide me to count the modals of histogram?

답변 (1개)

Andrew Bliss
Andrew Bliss 2016년 6월 13일
Think about the data not as a histogram, but just an x vs y line plot. Then use a local maxima finding routine such as findpeaks. http://www.mathworks.com/help/signal/ref/findpeaks.html

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by