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?

 Réponse acceptée

Cris LaPierre
Cris LaPierre le 4 Août 2020

0 votes

Use histcounts and specify the bin edges using the syntax [N,edges] = histcounts(X,edges)

Plus de réponses (0)

Catégories

En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by