Mediantrimmed: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
No edit summary
imported>Scott
No edit summary
 
Line 10: Line 10:
* '''dim''' = defines the dimension/mode along which the median is estimated (see MEDIAN). If dim is not defined the first non-singleton dimension is used.
* '''dim''' = defines the dimension/mode along which the median is estimated (see MEDIAN). If dim is not defined the first non-singleton dimension is used.
====Outputs====
====Outputs====
* '''mx''' = trimmed median.
* '''x''' = trimmed median.
===See Also===
===See Also===
[[auto]], [[meantrimmed]]
[[auto]], [[meantrimmed]]

Latest revision as of 17:59, 6 March 2012

Purpose

Trimmed median.

Synopsis

x = mediantrimmed(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 median is used.

Optional Inputs

  • dim = defines the dimension/mode along which the median is estimated (see MEDIAN). If dim is not defined the first non-singleton dimension is used.

Outputs

  • x = trimmed median.

See Also

auto, meantrimmed