Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

circcirc

Intersections of circles in Cartesian plane

Syntax

[xout,yout] = circcirc(x1,y1,r1,x2,y2,r2)

Description

[xout,yout] = circcirc(x1,y1,r1,x2,y2,r2) finds the points of intersection (if any), given two circles, each defined by center and radius in x -y coordinates. In general, two points are returned. When the circles do not intersect or are identical, NaNs are returned.

When the two circles are tangent, two identical points are returned. All inputs must be scalars.

See Also

Introduced before R2006a

Was this topic helpful?