ComputeCodes
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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 |