<< conv2 | Data analysis | cumsum >> |
R = cumprod(M) |
R = cumprod(M, d) |
R = cumprod(M, d, direction) |
R = cumprod(M, d, direction, nanflag) |
an array of double, single, integers, ...
dimension to operate along: positive integer scalar.
a string: 'reverse', 'forward' (default).
a string: 'includenan' (default) or 'omitnan'.
Cumulative Product of array elements.
R = cumprod(M) returns the cumulative product of the array elements of M.
M = uint8([10:30:70;20:30:80;30:30:90]);
R = cumprid(M)
R = cumprod(M, 'reverse')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET