getCV(x)

Compute Coefficient of Variation (CV)
983 Downloads
Updated 16 May 2017

View License

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 (2024). 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 Linux
Categories
Find more on Axes Appearance in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0