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

1 view (last 30 days)
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?

Answers (1)

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

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!