Meantrimmed: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (Created page with "===Purpose=== Trimmed mean. ===Synopsis=== :mx = meantrimmed(x,n,dim) ====Inputs==== * '''x''' = vector with M elements or MxN matrix of data. Higher order arrays are also s...") |
imported>Scott |
||
Line 20: | Line 20: | ||
===See Also=== | ===See Also=== | ||
[[auto | [[auto]], [[mediantrimmed]] |
Latest revision as of 17:55, 6 March 2012
Purpose
Trimmed mean.
Synopsis
- mx = meantrimmed(x,n,dim)
Inputs
- x = vector with M elements or MxN matrix of data. Higher order arrays are also supported.
- n = trimming factor. If (n>1) and even, (n) is the number of samples to exclude from the calculation. If (0<n<1), (n) is the fraction of samples to exclude from the calculation. If n>m(dim), then (n) is set to zero and the normal mean is used.
Optional Inputs
- dim = defines the dimension/mode along which the mean is estimated (see MEAN). If dim is not defined the first non-singleton dimension is used.
Outputs
- mx = trimmed mean.