It a frequency histogram
X = randn(1000,1);
hist(X)
It "bins" the input data and returns the number of data values that value in each bin.
You can get the actual counts and bin center with the optional output arguments:
[counts,centers] = hist(X);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!