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?

 채택된 답변

Cris LaPierre
Cris LaPierre 2020년 8월 4일

0 개 추천

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

추가 답변 (0개)

카테고리

태그

질문:

2020년 8월 3일

댓글:

2020년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by