Navigation: Language Reference > Functions > Matrix >
y = msum(A);
Returns the sum of the matrix elements of A.
A = [1,2;3,4;5,6];
y must be a scalar.