Finding the index where the values in one array are greater than the values in another array

I need to find the index of all instances where the values in one array (A, say) is larger than the corresponding values in another array (B, say, with B having the same length as A).

What is the best practice way to solve that problem in Julia?

findall(A .> B)

2 Likes

Thank you. Very succinct.