Calculates the mean value of x. In cases scalar, vector and xy-data it returns a scalar, otherwise it returns a vector with the mean values of the rows.
Syntax
mean(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Argument: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | v | real, complex | scalar, vector |
Calculator Input
Use the
button to complete the operation.Examples
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | REAL MATRIX |
| [[2,3,4],[3,4,5]] | ||
v | Result | REAL VECTOR |
| mean(x) |
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | REAL SIGNAL | signal([1,2,3],[2,3,4]) | |||
v | Result | REAL VECTOR | (3) | mean(x) |