Arithmetic mean of a sample. |
||
Syntax |
M = Mean(Data) |
|
Argument |
Name |
Description |
Data |
Scalar, vector or matrix of samples of (real) numbers. |
|
Output |
Name |
Description |
M |
The arithmetic mean. If the input is a matrix, then the median of each column is returned in a vector. |
|
Example |
Find the mean of the data set [1,2,3,4,5,7]. |
|
|
Syntax |
|
|
M = Mean([1,2,3,4,5,7]) |
|
|
Result |
|
|
M = 3.66 |
|
See Also: |