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

Thread Subject:
Intersection of circles

Subject: Intersection of circles

From: kamuran turksoy

Date: 3 Aug, 2012 20:56:28

Message: 1 of 3

I have two groups of circles. S1 is the union of the first group and S2 is the union of the second group of circles. I know the center and radius of all circles. I have to find the equation for the intersection of S1 and S2. Is there anyway to do it?

Regards

Subject: Intersection of circles

From: steve nospam

Date: 4 Aug, 2012 06:53:59

Message: 2 of 3

On Aug 3, 3:56pm, "kamuran turksoy" <kamuranturk...@gmail.com> wrote:
> I have two groups of circles. S1 is the union of the first group and S2 is the union of the second group of circles. I know the center and radius of all circles. I have to find the equation for the intersection of S1 and S2. Is there anyway to do it?
>
> Regards

for unions, use matlab ismember() function to find all memmbers in set
and use intersect function. equation of circle is x**2+y**2= the
radius.

Subject: Intersection of circles

From: ImageAnalyst

Date: 4 Aug, 2012 17:01:26

Message: 3 of 3

If they were digital images, it would be simple, almost trivial: just use the AND operator & to do a logical AND of the two image.

But since you have analytical equations, not digitized data (numerical arrays), and you want equations out (not an image), it's going to be much much more difficult. Basically you're going to have to use geometrical tests to see if two circles overlap at all, and if they do, how to get the equations of the two "halves" of the circle since it will be sort of an almond shape, or a pie with a bite taken out of it (a crescent).

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us