Code covered by the BSD License  

Highlights from
Geometric standard deviation

5.0

5.0 | 3 ratings Rate this file 13 Downloads (last 30 days) File Size: 1.91 KB File ID: #10397
image thumbnail

Geometric standard deviation

by Richie Cotton

 

17 Mar 2006 (Updated 17 Mar 2006)

Calculates the geometric standard deviation of an array.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
18 Mar 2006 John D'Errico

Not much to say here. Its a simple tool that does its job nicely. Well commented, error checks, worries about log of zero, etc.

01 Feb 2008 Y. W.

Works

21 Oct 2008 Antonio Luque

It works very good

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
statistics Richie Cotton 22 Oct 2008 08:18:48
probability Richie Cotton 22 Oct 2008 08:18:48
geometric standard deviation Richie Cotton 22 Oct 2008 08:18:48

Contact us at files@mathworks.com