N-body simulation with ode45

版本 1.0.6 (3.8 KB) 作者: Alex Pedcenko
Gravitational N-body simulation using ode solvers of MATLAB
556.0 次下载
更新 2023/3/25

查看许可证

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.

引用格式

Alex Pedcenko (2026). N-body simulation with ode45 (https://ww2.mathworks.cn/matlabcentral/fileexchange/75202-n-body-simulation-with-ode45), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

启发作品: Bisection method

版本 已发布 发行说明
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