I have a data table of binary signal bursts over time. Those signals bursts are of random length. So I need to find the row index where a change from 0 to 1 (the start point), and the row index where a change of 1 to 0 (the end point) takes place. So that eventually I can find the start and end time of each signal burst.
How would I do that?