Billiards

Simulation of elastic collisions of balls of different sizes.
2.8K Downloads
Updated 22 Jun 2024

View License

The simulation is based purely on elastic collisions.

Cite As

Peter van Alem (2024). Billiards (https://www.mathworks.com/matlabcentral/fileexchange/20759-billiards), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Physics in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Code cleanup and speedup

1.1.0.0

Two and three dimensional simulation, more use of vectorization and a minor bug is fixed.

1.0.0.0

Some commentary is used to improve the code.