Histograms |
hist(intvls, data) Returns a histogram of data − a vector representing the frequencies with which values in data fall into the intervals represented by intvls.
histogram(intvls, data) Returns a matrix with two columns. The first column contains midpoints of the intvls of the range min(data) ≤ value ≤ max(data) of equal length. The second column is identical to hist(intvls, data); the resulting matrix has intvls rows. The first column of histogram output is useful for plotting a horizontal axis for your histogram.
mode(A, B, C, ...) Returns the value in A, B, C, ... that occurs most often.