There is an error in the test suite. The solutions act as though the value of numClass is always 4 when setting the bin width, but then use the correct value of numClass when doing the histogram.
I have fixed the error
Increment a number, given its digits
563 Solvers
27 Solvers
Vectorize the digits of an Integer
271 Solvers
Getting the indices from a matrice
365 Solvers
120 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!