The code numerically simulates and animates the descent of a payload in Mars atmosphere. It considers the change in gravity and density of the air depending on the altitude and the deployment of a parachute system. By the end of the simulation, the program tells you if the payload would survive the impact with the ground or not. The code can be easily edited in order to allow simulation in other types of atmosphere as well as other parachute/payload configurations.
In the animation, blue means the parachute was deployed, green means the payload survived the landing impact and red means it did not survive.
Finally, the code saves the animation to an .avi file.
Rodrigo Santos Valente da Costa (2022). Mars CubeSat Descent and Impact Simulation (https://www.mathworks.com/matlabcentral/fileexchange/58135-mars-cubesat-descent-and-impact-simulation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!