Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have the histogram shown below:enter image description here

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
231 views
Welcome To Ask or Share your Answers For Others

1 Answer

h is the number of elements of data that fall into the respective bin in the histogram.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...