Suppose I have the following lists:
dat1 = {{43, 12.0541}, {44, 10.789}, {45, 9.505}};
dat2 = {{43, 11.60940}, {44, 10.693}, {45, 9.764}};
How can I implement Pick or Select to select from dat1
the elements that have the second array position > than the correspondenting array position of dat1
. In this simple explemple, the the element is {45, 9.764}
. I tried to use something like that:
Pick[dat1, dat2, dat2[[2]] > dat1[[2]]]