@cmedian |

Median of each column of a matrix.

Syntax: @cmedian(m)

m: matrix

Return: vector

Returns a vector containing the median values of each column of m.

Examples

Let MAT be an matrix of IID exponential numbers with mean 1. Then

= @cmean(mat)

returns an -vector whose elements are approximately for large .

Cross-references

See also
@cmean and
@cquantile.