Area, Centroid, and Moment of Inertia of a Polygon
Version 1.0.3 (1,2 ko) par
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).
Citation pour cette source
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. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Elementary Polygons dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.3 | Description |
||
1.0.2 | summary |
||
1.0.1 | description , pic |
||
1.0.0 |