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 .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Axes Appearance in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
