Given a variable length set of polygon vertex coordinates, compute the total area covered. For example, take two polygons with the following vertex coordinates:
p1=[0.2,0.2; 0.5,0.2; 0.5,0.5; 0.2,0.5];
p2=[0.4,0.4; 0.8,0.4; 0.8,0.8; 0.4,0.8];
The total area covered is the area of the first polygon plus the area of the second polygon minus the overlap. This comes out to 0.24 units.

Solution Stats

6 Solutions

5 Solvers

Last Solution submitted on Sep 14, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers5

Suggested Problems

More from this Author3

Problem Tags

Community Treasure Hunt

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

Start Hunting!