N-body simulation with ode45
Versión 1.0.6 (3,81 KB) por
Alex Pedcenko
Gravitational N-body simulation using ode solvers of MATLAB
interactive gravitational N-body simulation using ode solvers of MATLAB. It will loose symmetry eventually due to accumulation of numerical errors, but you can play with tspan to come up with different results.
Citar como
Alex Pedcenko (2024). N-body simulation with ode45 (https://www.mathworks.com/matlabcentral/fileexchange/75202-n-body-simulation-with-ode45), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspiración para: Bisection method
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.6 | fixed some typos |
||
1.0.5 | fixed trajectory length to plot inconsistency |
||
1.0.4 | Added total energy calculation |
||
1.0.3 | zipped 2 files |
||
1.0.2 | added function file nbody.m |
||
1.0.1 | fixed function filename |
||
1.0.0 |