File Exchange

image thumbnail

Balls Collision

version 1.0 (1.8 KB) by

Two balls with initialized with random velocity moves. It stops only when they collide.



View License

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

Comments and Ratings (2)


sumana (view profile)

Why are the balls gaining energy after collision with wall ? In real physics they should not.


Shahab (view profile)

cool :-)

MATLAB Release
MATLAB 7.11 (R2010b)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video