powered by
Find the index of the first nonzero value in a vector
position_finder(vec)
A binary vector
Position of the first nonzero value in a vector.