Physics Simulations

Physical models with plots for visualization. Includes numerical integrators, ODE solvers.

https://github.com/russphelan/matlab

You are now following this Submission

This is a copy of the repository hosted at https://github.com/russphelan/matlab. Descriptions of what the physics scripts do, how to use them, and pictures of example output are available at that page.
Simulations include:
Pitching a baseball in 3D
Heat conduction in 1D, and 2D
Simple pendulum
Orbiting bodies around the Sun
Falling body with linear drag
Parabolic trajectory game
Lotka–Volterra predator-prey model

Also included are:
Monte Carlo integration, Simpson's Rule, and Rectangle Rule, with error comparisons
Conway's Game of Life
Polynomial root finder

Cite As

Russell Phelan (2026). Physics Simulations (https://github.com/russphelan/matlab), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.1.0.0

Added list of simulations to description.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.