Simulation of elastic collisions of balls of different sizes.
Updated Sat, 29 Oct 2011 10:40:08 +0000

View License

Purely elastic collisions.

Cite As

Peter van Alem (2024). Billiards (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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

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

Some commentary is used to improve the code.