开发者

how to obtain histogram data in Matlab

As we know, 'hist' function in Matlab plots the histogram of an array. I need to开发者_如何学C know the numerical value of each bin. Could you help me please?

thanks


Specify an output for hist.

[h,bins]=hist(data)

will get you what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜