MATLAB Answers

huda nawaf

function to find relations

Asked by huda nawaf
on 14 Jul 2012


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




No products are associated with this question.

1 Answer

Answer by Image Analyst
on 14 Jul 2012
 Accepted answer

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

  1 Comment

many thanks I try it .it is ok

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!