S = sum( A , vecdim ) sums the elements of A based on the dimensions specified in the vector vecdim . For example, if A is a matrix, then sum(A,[1 2]) is the ...
確定! 回上一頁