


MEDIAN data elements,
[y]=median(x [,DIM])
DIM dimension
1: median of columns
2: median of rows
N: median of N-th dimension
default or []: first DIMENSION, with more than 1 element
features:
- can deal with NaN's (missing values)
- accepts dimension argument like in Matlab in Octave, too.
- compatible to Matlab and Octave
see also: SUMSKIPNAN