Mathematica: Extracting histogram information

1 reply · 3K views · last reply
Niles
Messages
1,834
Reaction score
0
Hi

I have a histogram of some numbers following a PDF, such as
Code:
Histogram[RandomReal[1, 100]]
What I want is to extract the information contained in this histogram in a list, i.e. get a list of the bin value (e.g. the average value it represents) and the number of entries in it. Is using bincounts the easiest way to obtain the number of entries? Then I guess I can manually find the average value of the bin.


Niles.
 
I have succesfully used bincounts, and then manually found the average bin-value. So all OK!Niles.