m = median(X)
m = median(X)
, where X
is a vector, is the median value of the elements in vector X
. For matrices, median(X)
is a row vector containing the median value of each column. Since median
is implemented using sort
, it can require long execution times for large matrices.
corrcoef
,cov
,mean
,std
(c) Copyright 1994 by The MathWorks, Inc.