You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
RCUMSUM cumulative sum of elements, restarted after every zero. For vectors, RCUMSUM(X) is a vector containing the cumulative sum of the elements of X, with the summation restarting after a zero is encountered. For matrices, RCUMSUM(X) is a matrix the same size as X containing the cumulative restarted sums over each column. For N-D arrays, RCUMSUM(X) operates along the first non-singleton dimension.
RCUMSUM(X,DIM) works along the dimension DIM.
Also included is RCUMPROD.
For bug reports, please email me.
Thanks
Cite As
Matt Fig (2026). RCUMSUMC (https://www.mathworks.com/matlabcentral/fileexchange/28685-rcumsumc), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (5.95 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
