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 p.m. EST 2 Replies
Please login with a confirmed email address before reporting spam
Hi all,
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 :)
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 :)
2 Replies Last Post Feb 27, 2017, 7:38 p.m. EST