MATLAB Answers

EDEN
0

HEEEEELP....... Array cells comparing....

Asked by EDEN
on 27 Mar 2019
Latest activity Commented on by Luna
on 29 Mar 2019
Hello friends. i want to compare elements in two two arrays, one is big the other is smaller so i need to check if an individual element (say elements one of the smaller array) is available in the bigger one. Any one who can help me perform that job i would really appreciate.

  6 Comments

Adam Danz
on 27 Mar 2019
As Luna suggested, use ismember().
EDEN
on 27 Mar 2019
thanks
Luna
on 28 Mar 2019
@Jan waiting for your +1 :)

Sign in to comment.

1 Answer

Answer by Luna
on 28 Mar 2019
 Accepted Answer

Hi,
Look at the function ismember to search if your element exists in another array.
Please share your arrays as an example and what have you done so far, and what kind of output you want to get. So that we can help.

  2 Comments

Adam Danz
on 28 Mar 2019
+1
Luna
on 29 Mar 2019
Thanks @Adam :)

Sign in to comment.