how to use histogram(data, num_bins)?
显示 更早的评论
I have a 8945x1 double array, and I want to view it as a histogram
first try: histogram(data), here's what I get:

second try: using histogram(data, 20):

what am I doing wrong?
data is attached as an excel file if anybody cares to investigate
thanks!
1 个评论
Walter Roberson
2016-4-14
Isn't this a duplicate with http://www.mathworks.com/matlabcentral/answers/278881-how-to-use-histogram-data-num_bins
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!