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.
Richie Cotton (2021). Geometric standard deviation (https://www.mathworks.com/matlabcentral/fileexchange/10397-geometric-standard-deviation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!