So let's say these are my values:
x y 0 290 300 3016760 3016760 3116760 3116760 3116760 3116760 3116760 3216760 3216760 3216760 3216760 3316760 3216760 3316760 3316760 3316760 3316760 3316760 3416760 3416760 3318330 3418330 3318330 3519130 3519130 35
what i need to know is for the periods that x is constant, the values of y (in my problem y is actually speed so i need the values to integrate and find distance afterwards)
so i would like to have as a result something like for x1=16760,y=30 31 31 31 31 31 32 32 32 32 33 32 33 33 33 33 33 34 34 33
x2=18330, y=34 33 35
x3=19130, y=35 35
etc..
Is that possible? any suggestion is welcome! thank you!
Best Answer