MATLAB: comparing all elements in three arrays
Posted
by sasha
on Stack Overflow
See other posts from Stack Overflow
or by sasha
Published on 2010-03-11T13:07:46Z
Indexed on
2010/03/11
19:09 UTC
Read the original article
Hit count: 272
I have three 1-d arrays where elements are some values and I want to compare every element in one array to all elements in other two.
For example:
a=[2,4,6,8,12]
b=[1,3,5,9,10]
c=[3,5,8,11,15]
I want to know if there are same values in different arrays (in this case there are 3,5,8)
© Stack Overflow or respective owner