[SciPy-user] intersect (matlab)

Robert Kern robert.kern@gmail....
Fri Feb 13 17:34:52 CST 2009

On Fri, Feb 13, 2009 at 08:21, Bernardo M. Rocha
<bernardo.rocha@meduni-graz.at> wrote:
> Hi Robert Kern,
> thanks a lot for your help! Just another question, is there a way to do it in a matrix (that is, the intersection in the rows of 2 matrices)? The matlab version would be like:
> [c,ia,ib] = intersect(A,B,'rows')
> where A and B are matrices with the same number of columns.

I don't know exactly what you mean, off-hand. Can you show me an example?

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list