Gravity simulator in matlab

The following Matlab project contains the source code and Matlab examples used for gravity simulator. * Numerical solver via Verlet algorithm * Fully vectorized code * N interacting masses * Rings or spherical clusters of massless particles * Elliptical orbit initial conditions.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
ellipse.m 2464
elliptical_orbit_plotter.m 3415
plot_inter_mass_distances.m 2756
point.m 2252
two_body_elliptical_orbit.m 8247
two_body_elliptical_orbit_test.m 2305
vrot.m 1445
gravity_sim.m 47617
gravity_sim_default_with_cluster.m 4267
inner_solar_system.m 4982
outer_solar_system.m 5234
solar_system.m 6117
two_suns_circular_rings.m 3837
unequal_mass_binary_90deg_orbit.m 3873
license.txt 1313