The first two for loops finds the indices of the nonzero elements and the last two finds the indices of the elements with value 1 in different arrays. The first two for loops finds the indices of th
The first two for loops finds the indices of the nonzero elements and the last two finds the indices of the elements with value 1 in different arrays. The first two for loops finds the indices of th