cumsum
Core Math
Cumulative sum of array elements.
Syntax
cumsum(x)
Examples
cumsum([1, 2, 3, 4, 5])▶ Run
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLabCore Math
Cumulative sum of array elements.
cumsum(x)
cumsum([1, 2, 3, 4, 5])▶ Run
466 functions. Runs in your browser. No install.
Open SimLabGet notified about new simulations and tools. We send 1-2 emails per month.