Change histogram to more bars
Show older comments
I am generating random numbers. The histogram has a sample size of 20 but only 5 bars. How can I control the bar numbers?

Accepted Answer
More Answers (1)
drummer
on 25 Oct 2020
1 vote
If you're using such command, you can do it by histogram(X, nBinsYouWant)
1 Comment
Mustafa Vural
on 25 Oct 2020
Categories
Find more on Histograms 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!