dynamical list problem
|
01-04-2019, 02:34 PM
Post: #16
|
|||
|
|||
RE: dynamical list problem
(01-04-2019 08:51 AM)peacecalc Wrote: {1 2 1 3 2} -> {{1 2 1 1} {2 1 2} {1 3 1} {3 2}} You missed {1 1 3}. Total distance travelled = 9m, thus should have 5 ways. It might help calculations if list is travelled (time distance): {1 2 1 3 2} => {(0 0) (1 1) (2 3) (3 4) (4 7) (5 9)} For speed of any distance, just interpolate for the time. Example, above missed {1 1 3}: Speed(2m to 7m) = (7-2) / (4-1.5) = 5/2.5 = 2 m/s With (time distance) list, no restrictions for equal time intervals, thus solved lost GPS signal problem. Also, distance does not restricted to integers. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)