Mean of matrix

 

mmean(A, n), perform the mean valueon the nthdimension of matrixA


A

1

[[1,0,2,3],[0,71,5,6],[0,0,6,5],[35,53,2,3],[35,8,4,2]]

2

=mmean(A1,1)

3

=mmean(A1,2)

4

=mmean@a(A1)

A1 Input a matrix with 5 vector members

..

A2 n=1, calculate mean valueon the matrix’s first dimension layer, counterpoint mean of the vector members.That is, calculate mean value on membersof each column.

..

A3 n=2, calculatemeanon the matrix’s seconddimension layer, mean value on the elements within each vector. That is, calculate meanon members of each row.

..

A4 Calculatethe mean value of all elements inA1

..