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 26 feb 2017, 17:41 GMT-5 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 27 feb 2017, 19:38 GMT-5