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.
Zitieren als
Habtamu Abraham (2024). ComputeCodes (https://github.com/HabtishCodeDude/ComputeCodes), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | work correctly for triangles, regular and irregular polygons, convex or concave polygons. |
|
|
1.0.0 |