Put data into bins with the equal number of elements
13 views (last 30 days)
Show older comments
I have
that puts data into equal spaced bins.
But I now want to put data into, let me say, 50 bins with the equal number of observations for each bin.
1 Comment
Steven Lord
on 3 Aug 2020
Which values from this x vector should be in the three bins that each have two elements?
Which values from this x vector should be in the two bins that each have three elements?
x = [1 1 1 1 2 2]
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!