Asteroid Shape Data Explorer

Explores published asteroid shape models and computes asteroid inertial moments and gravitational fields assuming constant density.
85 Downloads
Updated 9 Feb 2026

View License

This script explores asteroid shape models derived from public data sources. It illustrates methods to download discrete shape models from the web, explores the surface triangulation methods convexhull, boundary, and alphashape to find the surface area and volume, writes an stl file useful for 3d-printing, voxelizes the interior of an asteroid mesh, and computes the inertial tensor and gravitational field of an asteroid, assuming constant mass density. The methods developed here can be applied to other mesh and point-cloud data sets.
The script may interest students and educators in physics, astronomy, and engineering. "Try this" explorations and follow-on projects are suggested.
This script downloads and uses of the codes Anton Semechko (2020)[2] and Sven (2020)[3].

Cite As

Duncan Carlsmith (2026). Asteroid Shape Data Explorer (https://au.mathworks.com/matlabcentral/fileexchange/114555-asteroid-shape-data-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.01

Added interactive_examples tag

1.0.2

Spell check

1.0.1

Minor spelling errors corrected.

1.0.0