<< sort | Data analysis | unique >> |
R = sum(M) |
R = sum(M, d) |
R = sum(M, d) |
R = sum(M, d, t) |
R = sum(M, d, t, f) |
an array of double, single, integers, ...
dimension to operate along: positive integer scalar.
a string: 'default', 'double' or 'native'.
a string: 'includenan' or 'omitnan'.
Sum of array elements.
R = sum(M) returns the sum of the array elements of M.
M = uint8([10:30:70;20:30:80;30:30:90]);
R = sum(M, 'native')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET