histogram maximum but not as bin border

1 view (last 30 days)
mick strife
mick strife on 10 May 2014
Answered: dpb on 10 May 2014
Hello, i want to create a histogram which shows the maximum and minimum value at a defined bin width. Therefore the i.e. max-value is not necessary a "bin border" in the graph. Is that in matlab possible?
Thx!

Answers (1)

dpb
dpb on 10 May 2014
Use either hist or histc with the optional vector of bin centers/edges depending on which way you want to specify the bins.
doc hist
doc histc
for details/examples

Community Treasure Hunt

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

Start Hunting!