Contents Previous Next Subchapters

Computing The Median Absolute Deviation of Each Column
Syntax colmead(x)
See Also colmedian , colmse , median , colmean , sort , psort

Description
Returns a row vector containing the median absolute deviation of each column of x, where x is an integer, real, or double-precision matrix. The return value has the same type and column dimension as x.

Example
     x = {13., 11, 16, 5, 3, 18, 9, 8, 6, 27, 7}
     X = [x , x*2 ]
     colmead(X)
returns
     [ 4 , 8 ]