N-body simulation with ode45

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.

引用

Alex Pedcenko (2026). N-body simulation with ode45 (https://jp.mathworks.com/matlabcentral/fileexchange/75202-n-body-simulation-with-ode45), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Bisection method

Add the first tag.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
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