Balls Collision

version (1.8 KB) by Nikesh Bajaj
Two balls with initialized with random velocity moves. It stops only when they collide.


Updated Mon, 28 Jan 2013 14:36:33 +0000

View License

Can be useful for physics simulation and for tricky questions like "with so and so velocity when balls are going to collide?"

Cite As

Nikesh Bajaj (2022). Balls Collision (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
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!