Cody

Problem 417. Covering area

As an extension of the problem http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area, find the area, bounded by the border of the group of several points.

Example:

 C = [1 -1; 1 1; -1 -1; -1 1; 0 0];
 >> cover_area(C)
 ans =
     4

Solution Stats

44.26% Correct | 55.74% Incorrect
Last solution submitted on Feb 08, 2017
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!