Contents Previous Next Subchapters

Computing The Mean Absolute Deviation Of Each Column
Syntax colmad(x)
See Also colsum , colstd , colmean

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

Example
     x = [{0., 2., 4.}, {0., -1., 1.}]
     colmad(x)
returns
     [ 1.3333 , 0.666667 ]