How can I produce the histogram with specific number of bins and calculate the number of counts in matlab 7.5.0?

2 次查看(过去 30 天)
Hello, Have a nice year everyone. I would like to ask you how can I produce a histogram with specific number of bins and calculate the number of counts in matlab 7.5.0?

回答(1 个)

Walter Roberson
Walter Roberson 2016-1-8
[counts, centers] = hist(data, NumberOfBins);

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by