Asteroid Shape Data Explorer
Version 1.0.2 (4.7 MB) by
Duncan Carlsmith
Explores published asteroid shape models and computes asteroid inertial moments and gravitational fields assuming constant density.
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.
Cite As
Duncan Carlsmith (2024). Asteroid Shape Data Explorer (https://www.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 LinuxTags
Acknowledgements
Inspired by: Rigid body parameters of closed surface meshes, inpolyhedron - are points inside a triangulated volume?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.