trimmedmean

Calculate mean without highest and lowest trimFraction of data.

Contents

Syntax

y = trimmedmean(x,trimFraction)

Description

Calculate mean without highest and lowest trimFraction of data.

If x is a matrix, it is processed columnwise
The default trimFraction is 0.1

Example

trimmedmean([10:18 100])
ans =
14

See also

trimmedstd