2

I have two numbers [739 560] and I just want to know if it appears in a huge 2D array of size 9000x2

I cannot find a simple way of checking that.

Can anyone suggest anything simple? Thanks

1 Answer 1

3

You can do:

find(ismember(A, r, 'rows'))
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.