Question: what are bins in matlab?
Answer: Bins, returned as a numeric vector, matrix, multidimensional array, or ordinal categorical array. Y is the same size as X , and each element describes the bin placement for the corresponding element in X . If values is specified, then the data type of Y is the same as values .