trimmedMean(a,left,right)

Returns the trimmed mean of the values in array a by discarding the left smaller values and the right bigger values. right may be omitted.

trimmedMean(A,left,right)

Returns an array with the trimmed mean of each column of matrix A.


See also mean variance 


Example


a = ( 1, -20, 2, 2, 5, 5, 8, 3 , 5 );

trimmedMean(a,1)

3.875