image thumbnail

Area and volume properties

version (15 KB) by Howard Wilson
Area and volume properties for shapes defined by piecewise linear and spline boundaries


Updated 29 Sep 2009

View License

Programs to analyze complicated plane geometries and volumes of revolution are provided. Function areaprop computes area, centroidal coordinates, and inertial moments of general shapes having piecewise linear and spline interpolated boundary segments. Regions composed of several parts which may have holes are allowed. Function volprop analyzes volumes generated by rotating an area about the z axis through arbitrary angular limits. The volume, centroidal coordinates, second order moments, and inertia tensor are obtained for the rotated geometry. Typing readme in the workspace discusses the methods used and typing examples runs ten test cases illustrating data preparation and use of the software.

References for this work are “Advanced Mathematics and Mechanics Applications Using MATLAB” by H.B. Wilson, L.H. Turcootte, and D. Halpern and “Principles of Dynamics” by D.T. Greenwood.

Cite As

Howard Wilson (2022). Area and volume properties (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: volRevolve

Community Treasure Hunt

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

Start Hunting!