Feeds
질문
Change value in a matrix with a conditional statement
I have a matrix [3000,1000] which only consist of 1,-1,0,-2. If there is -1 in a row followed by any consecutive zeros then foll...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change a value after a maximum five-consecutive column of zero
I have a matrix [3000,1000] which has only 0, 1, and -1. If there is a -1 in a row followed by a (maximum) consecutive five-colu...
7년 초과 전 | 답변 수: 3 | 0
