Put data into bins with the equal number of elements

11 次查看(过去 30 天)
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 个评论
Steven Lord
Steven Lord 2020-8-3
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]

请先登录,再进行评论。

采纳的回答

Cris LaPierre
Cris LaPierre 2020-8-3
I'd suggest looking into this file exchange submission.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by