Statistics Toolbox    
tabulate

Frequency table.

Syntax

Description

table = tabulate(x) takes a vector of positive integers, x, and returns a matrix, table.

The first column of table contains the values of x. The second contains the number of instances of this value. The last column contains the percentage of each value.

tabulate with no output arguments displays a formatted table in the command window.

Example

See Also
pareto


 surfht tblread