Put data into bins with pre-specified intervals

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 3 de Ag. de 2020
Comentada: alpedhuez el 4 de Ag. de 2020
I have data distributed over [0,1]. I want to put data into pre-specified bins such as 0:.1:1. How can one do this?

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 4 de Ag. de 2020
Use histcounts and specify the bin edges using the syntax [N,edges] = histcounts(X,edges)

Más respuestas (0)

Categorías

Más información sobre Particle & Nuclear Physics 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