Matlab - [h,bins]=hist(data)

江枫思渺然 提交于 2019-12-12 06:46:11

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!