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);
Best Answer