Matthew Rademacher
Followers: 0 Following: 0
Feeds
提问
use the previous result of a function in the calculation
I want to perform a calculation: , how can I include the Y(i-1) part? Obviously a loop would work, but my data set is quite larg...
4 years 前 | 1 个回答 | 0
1
个回答提问
Need to remove repeated adjacent elements in an array
I need to turn [1 1 1 1 2 2 2 6 6 6 6 2 2 2 2] into [1 2 6 2] unique() gives [1 2 6], but I want to preserve the second va...
9 years 前 | 3 个回答 | 1