Generates the geometric mean of a sample. |
||
Syntax |
M = GeoMean(Data) |
|
Argument |
Name |
Description |
Data |
Scalar or Vector of data of positive (real) numbers. |
|
Output |
Name |
Description |
M |
The geometric mean. |
|
Example |
Find the geometric mean of the data set [1,2,3]: |
|
Syntax |
||
M = GeoMean([1,2,3]) |
||
Result |
||
M = 1.8171 |
||
See Also: |