Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Cumulative sum along an axis
Posted Feb 26, 2017, 5:41 PM EST 2 Replies
I would like to calculate the cumulative sum in COMSOL without exporting data to Matlab. How can I achieve this ? Let's say my values are y(x) = [0,1,2,3,4,5] and I would like to get cumsum(y) = [0,1,3,6,10,15].
A push in the right direction would be highly appreciated :)