Jun-29-2018, 02:43 PM
I don't know much about Matlab, but the numpy.in1D() do this:
Quote:Test whether each element of a 1-D array is also present in a second array.numpy.in1D() reference