问题
I have the histogram shown below:
In order to get the image data, I used this matlab command: [h,bins]=hist(data)
The output that I got was as follows:
h =
221 20 6 4 1 1 2 0 0 1
bins =
Columns 1 through 7
8.2500 24.7500 41.2500 57.7500 74.2500 90.7500 107.2500
Columns 8 through 10
123.7500 140.2500 156.7500
What does h refer to?
回答1:
h is the number of elements of data that fall into the respective bin in the histogram.
来源:https://stackoverflow.com/questions/13487768/matlab-h-bins-histdata