how to use histogram(data, num_bins)?
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 14 Apr. 2016
Isn't this a duplicate with http://www.mathworks.com/matlabcentral/answers/278881-how-to-use-histogram-data-num_bins
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Histograms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!