Checking for intersection of surfaces

2 views (last 30 days)
Karthik
Karthik on 25 Dec 2013
Edited: Matt J on 25 Dec 2013
Hi, I want to know how to check for intersections between two surfaces in the same plane?For example I would like to plot all points on a circle which does not lie within a rectangle.
Thanks

Answers (1)

Matt J
Matt J on 25 Dec 2013
Edited: Matt J on 25 Dec 2013
Depends on what the "surfaces" are. In the case of a rectangle, or other polygon, you would probably use INPOLYGON.
For more complicated things, you would probably use inequalities describing the region
f(x,y)<=0
to disqualify points.

Community Treasure Hunt

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

Start Hunting!