Area, Centroid, and Moment of Inertia of a Polygon

Finds area, centroid, moment of Inertia and higher order moments of arbitrary polygonal shapes.
851 Downloads
Updated 26 Aug 2024

View License

Area=MOMENT(polygon,0,0)
Cx=MOMENT(polygon,1,0)/Area
Cy=MOMENT(polygon,0,1)/Area
Ixx=MOMENT(polygon,0,2)
Iyy=MOMENT(polygon,2,0)
Ixy=MOMENT(polygon,1,1)
where: the function MOMENT is defined as:
function M=MOMENT(polygon,m,n)
Input:
-------
Polygon is a structure contains coordinates vectors Polygon.x and Polygon.y
m:is the order of moment in x-direction
n:is the order of moment in y-direction
Output:
----------
M: Moment
References:
------------------
Kawakami, M., and Amin Ghali. "Time-dependent stresses in prestressed concrete sections of general shape." PCI journal 41.3 (1996).

Cite As

Ayad Al-Rumaithi (2026). Area, Centroid, and Moment of Inertia of a Polygon (https://www.mathworks.com/matlabcentral/fileexchange/70090-area-centroid-and-moment-of-inertia-of-a-polygon), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Elementary Polygons in Help Center and MATLAB Answers
Version Published Release Notes
1.0.4

added website

1.0.3

Description

1.0.2

summary

1.0.1

description , pic

1.0.0