I have two giant matrices (5000x6000) each. I want to compare the sign of elements of two matrices without doing a for loop kind of thing. And then I want to count how many had the matching sign.

I did find ways to compare whether two are identical but couldn't find anything which can do the above.