from
RelVar
by Robert Bemis
Descriptive statistic to characterize & compare data sets.
|
| RelVar(x)
|
function cv = RelVar(x)
%RELVAR returns the relative variation of input matrix.
% Also known as coefficient of variation, this statistical parameter
% is the ratio of standard deviation divided by mean value and
% expressed as a percentage.
% Copyright 2003-2010 The MathWorks, Inc.
cv = std(x(:))/mean(x(:))*100;
|
|
Contact us at files@mathworks.com