Contents Previous Next Subchapters

Computing The Mean (Mlmode)
Syntax mean(x)
See Also colmean

If x is a row vector, returns a scalar equal to the mean of the elements of x. Otherwise returns a row vector, with the same number of columns as x containing the average of the corresponding columns of x. The argument where x is an integer, real, double-precision, or complex matrix. If x is an integer matrix, the return value is double-precision. Otherwise, the return value has the same type as x

If in Mlmode you enter,
     x = 1 : 3;
O-Matrix will reply
If you continue by entering
     x = [x ; x+1];