File Exchange

image thumbnail

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.

2 Downloads

Updated 28 Jan 2013

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

sumana (view profile)

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

Shahab

Shahab (view profile)

cool :-)

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

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

» Watch video