Compare the rows of an array with another one's array

1 Ansicht (letzte 30 Tage)
Hi all,
I have an Array A with dimensions [3500 x 5]
And a second array B with dimensions [13x5]
How can I check every row of array A to see if it is the same with any row of B? (practically crosscheck every row of array A with ALL rows of array B)!
is there any easy way to do it?
thanks a lot
Nikolas

Akzeptierte Antwort

Ridwan Alam
Ridwan Alam am 12 Dez. 2019
Lia = ismember(A,B,'rows')

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by