My goal for this code is to find the area inside of a polygon, or any shape really. I know that one way of doing it would be to input the coordinate points of the shape's corners, but I'm not sure how to get area from that. I think there should be a way to create an integration field within the original shape and by integrating a cross sectional area like a triangle, inside the original shape, and summing multiple integrations together, I should be able to find the total area, I'm just not sure how to translate these thoughts into code. Could anyone give me a hand?

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Polygonal Shapes에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by