Computes the mean value.
c = mean(a)
c = mean(a, b)
c = mean(a, b, d)
Array of any dimension of numeric values.
Dimension of a across which to compute the mean. b can be in a range of 1 to the maximum supported array dimension (32). If you do not specify b, the function works with the first dimension whose size is not equal to 1.
Output data type.
The output data type is double.
The output data type is the same data type as the input data type.
Mean of a. c is the same size as a except the size of the dimension specified in b is reduced to one.
A = [1:1:15] C = mean(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported