Area, Centroid, and Moment of Inertia of a Polygon
Versione 1.0.3 (1,2 KB) da
Ayad Al-Rumaithi
Finds area, centroid, moment of Inertia and higher order moments of arbitrary polygonal shapes.
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).
Cita come
Ayad Al-Rumaithi (2024). 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. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Elementary Polygons in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.