Displaying 1 result from an estimated 1 matches for "xcsum".
Did you mean:
csum
2006 Jan 11
1
complex matrix manipulation question
I've done stuff like this before but
it's been a while and I'm stuck.
Suppose I have a matrix with one
column x and another column y
and both are numeric and let the
row index of the matrix be i
Starting at index i ( i would equal on the first iteration )
when the cumulative sum of x_i+1 - x_i
is greater than W = some constant, I want to mark that spot in the
row, call it i^* and