function to find 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

 Accepted Answer

Image Analyst
Image Analyst on 14 Jul 2012

0 votes

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!