Balls Collision
Version 1.0.0.0 (1.8 KB) by
Nikesh Bajaj
Two balls with initialized with random velocity moves. It stops only when they collide.
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 (2026). Balls Collision (https://nl.mathworks.com/matlabcentral/fileexchange/40043-balls-collision), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
