float median
(x, xdim) |
STATFUNS.C |
Level
3 |

float
*x |
The x input vector. |

int
xdim |
The dimension of x. |

median() returns the median of the vector x. If xdim
is odd, the central element of the sorted array is returned. Otherwise,
the average of the two central elements is returned. |