RCUMSUMC
Versión 1.0.0.0 (5,95 KB) por
Matt Fig
RCUMSUM cumulative sum of elements, restarted after every zero.
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
Citar como
Matt Fig (2026). RCUMSUMC (https://es.mathworks.com/matlabcentral/fileexchange/28685-rcumsumc), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2007b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Arithmetic Operations en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
RCUMSUMC/
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
