mode(a)
Returns the mode of the values stored in array a.
mode(A)
Returns an array with the mode of each column of matrix A.
See also mean median variance
Example
a = ( 1, 2, 1, 5, 7 );
1.0