image thumbnail

Geometric standard deviation

version (1.91 KB) by Richie Cotton
Calculates the geometric standard deviation of an array.


Updated 17 Mar 2006

View License

The stats toolbox provides a function to calculate the geometric mean of an array, but a function for the geometric standard deviation is oddly missing.

Here is a function to fill that void, with no toolbox required.

The function accepts a vector, matrix or N-D array; an optional flag to normalise by N or (N-1); and an optional dimension to calculate the gsd across.

Cite As

Richie Cotton (2021). Geometric standard deviation (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!