getCV(x)

Compute Coefficient of Variation (CV)

You are now following this Submission

call:

CV = getCV(x)


compute the coefficient of variation (C.V.) of the input vector x.
The C.V. is defined as std(x)/mean(x), and as such is a measure of
the relative variability. The function ignores NaNs.

INPUT

x : input vector

OUTPUT

CV : coefficient of variation (a scalar)

Cite As

Ruggero G. Bettinardi (2026). getCV(x) (https://www.mathworks.com/matlabcentral/fileexchange/62972-getcv-x), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0