I have two lists
a = {{3,1,2},{5,1,3},{4,1,1}}
b = {{4,0,3},{4,2,2},{5,0,2}}
And would like to compare each element within
If{a>b,1,0}
expecting the result
{{0,1,0},{1,0,1},{0,1,0}}
but it doesn't work, how can I get this type of comparison?
1-UnitStep[b-a]
? $\endgroup$