HIST(Y) plots a histogram with 10 equally spaced bins between
the minimum and maximum values in Y, showing the distribution
of the elements in vector Y.
HIST(Y,N), where N is a scalar, uses N bins.
HIST(Y,X), where X is a vector, draws a histogram using the
bins specified in X.
[N,X] = HIST(...) does not draw a graph, but returns vectors
X and N such that BAR (X,N) is the histogram.
See also BAR .