Put data into bins with the equal number of elements

10 visualizaciones (últimos 30 días)
alpedhuez
alpedhuez el 3 de Ag. de 2020
Comentada: Steven Lord el 3 de Ag. de 2020
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 comentario
Steven Lord
Steven Lord el 3 de Ag. de 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]

Iniciar sesión para comentar.

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 3 de Ag. de 2020
I'd suggest looking into this file exchange submission.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by