MATLAB: Sorting into equal sized bins

histhistcpercentile

Hello,
I have ~72000 elements in a matrix and I want to sort those elements into 10 equally sized bins (not equally spaced). Is there a function that will allow me to find what the ranges are of each of the bins? So each bin should have ~7200 elements and I'd like to know what value the first group has to be above, the second group, etc.
Thanks in advance!

Best Answer

So, if you did a sort, then what would the 7200th element tell you? The 14400th element? Etc?