Matlab-[h,bins] = hist(数据) [英] Matlab - [h,bins]=hist(data)
本文介绍了Matlab-[h,bins] = hist(数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的直方图如下所示:
I have the histogram shown below:
为了获取图像数据,我使用了以下matlab
命令:[h,bins]=hist(data)
In order to get the image data, I used this matlab
command: [h,bins]=hist(data)
我得到的输出如下:
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
h
指的是什么?
推荐答案
h是直方图中落入各个bin的数据元素的数量.
h is the number of elements of data that fall into the respective bin in the histogram.
这篇关于Matlab-[h,bins] = hist(数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文