craters

版本 1.0.1 (3.5 MB) 作者: Adam Danz
Generates a cratered spherical surface such as a moon or asteroid.
63.0 次下载
更新时间 2021/11/7

查看许可证

craters() produces a cratered spherical surface according to optional user inputs that control
  • sphere size and location
  • number and distribution of craters
  • crater radii and depths
By default, crater radii are selected randomly from a bounded gamma distribution. Crater depths are a function of crater radii so larger craters create larger impacts. Crater profiles are defined by a logistic function.
craters outputs the 3D coordinates to the surface object, a table of crater information, and handles to graphics objects.
See the example file for a survey of capabilities of the craters function.
Animation of craters object rotation
Written in Matlab R2021b.

引用格式

Adam Danz (2024). craters (https://www.mathworks.com/matlabcentral/fileexchange/101649-craters), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021b
与 R2020b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Updated URL to file exchange page.

1.0.0