MATLAB: Function to find relations

relations

hi,
I have some clusters of users, I need to find intersections among the clusters. i.e is x=no. of users y=no. of users
what I need is x ∩ y=z
z is the no. of users in both clusters x and y
can I find a function do that?
many thanks in advance

Best Answer

Did you look at functions like intersect() and ismember()?