Physics Simulations

Physical models with plots for visualization. Includes numerical integrators, ODE solvers.
687 Downloads
Updated 17 Aug 2015

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 (2024). Physics Simulations (https://github.com/russphelan/matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
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.