I want to find which rows in two matrices that are matching.
If I for example have
A =
1 2 4 5 9 7 1 2 6 5
and
B =
2 5 1 2 9 2 1 2
I would like a result like
index_A=[1 4] index_B=[2 4].
Any idea how to solve this?
Best Answer