polygon_area

Computes the area of a 2D polygon with ordered list of vertices. Vertices are real-valued.
36 Downloads
Updated 24 Oct 2019

View License

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://www.mathworks.com/matlabcentral/fileexchange/73113-polygon_area), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0