Asteroid Shape Data Explorer

Explores published asteroid shape models and computes asteroid inertial moments and gravitational fields assuming constant density.
Updated 28 Jul 2022

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 (2024). Asteroid Shape Data Explorer (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!


Version Published Release Notes

Spell check


Minor spelling errors corrected.