Function File: a = trimmean (x, p)
Compute the trimmed mean.
The trimmed mean of x is defined as the mean of x excluding the highest and lowest p percent of the data.
For example
mean ([-inf, 1:9, inf])is NaN, while
trimmean ([-inf, 1:9, inf], 10)excludes the infinite values, which make the result 5.
See also: mean
Package: statistics