polygon_area

Computes the area of a 2D polygon with ordered list of vertices. Vertices are real-valued.

You are now following this Submission

A = polygon_area(M) computes the area enclosed by the polygon having the ordered list of vertices (either clockwise or anticlockwise) contained in the matrix M, where the x coordinates are given in the first column, and the y coordinates given in the second column.

Cite As

Douglas Brunson (2026). polygon_area (https://in.mathworks.com/matlabcentral/fileexchange/73113-polygon_area), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0