I have a histcount plot which uses two different vectors. I called them 'Peak' and 'Bin'. The 'Bin' is obviously bins and 'Peak' is the data that goes in each bin. So then I made a histcount; Cnts=histcounts(Peak,Bin). Now I need a way to find the peak that this histcount will give. By peak, I mean finding the highest count and then find the corresponding bin number. I then need to plot those along with the histcount which I can do using the 'hold' command. I'm just having a problem with finding the Bin number that has the highest counts.
MATLAB: How to get bin counts from max(histcount_plot)
histcounts
Related Question
- For texture classification i have taken lbp as a feature..after applying lbp i have taken histogram..how to normalise the bins of histogram..and what is meant by normalise bins of histogram
- Plot shifting while using histcounts
- I cannot use histogram instead of hist. Why
- Problem with accumarray/histcounts
Best Answer