Histogram decimal value error
1 view (last 30 days)
Show older comments
Undefined function 'histogram' for input arguments of type 'double', in this code x = randn(1000,1); nbins = 25; h = histogram(x,nbins)
0 Comments
Accepted Answer
Star Strider
on 8 Dec 2015
The histogram function was introduced in R2014b. If you’re using an earlier version, use hist (or one of its friends).
0 Comments
More Answers (0)
See Also
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!