ComputeCodes

easy to use polygon area calculator with example.
24 Downloads
Updated 13 Jul 2019

Area of polygon when the coordinates of its vertices are known uses Coordinate Geometry formula. https://www.mathopenref.com/coordpolygonarea.html. This method will produce the wrong answer for self-intersecting polygons, where one side crosses over another, as shown on the right. It will work correctly however for triangles, regular and irregular polygons, convex or concave polygons.

Cite As

Habtamu Abraham (2024). ComputeCodes (https://github.com/HabtishCodeDude/ComputeCodes), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Elementary Polygons in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1

work correctly for triangles, regular and irregular polygons, convex or concave polygons.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.