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