image thumbnail

Elastic collision - Particles inside a box

version 1.0.0 (2.76 KB) by Carlos Souto
Simulation of elastic collision between multiple particles inside a box. Object oriented programming approach.

103 Downloads

Updated 29 May 2020

View License

Simulation of elastic collision between multiple particles inside a box. Object oriented programming approach. Note that for a large enough time step, dt, particles/bodies can get "stuck" together.

Cite As

Carlos Souto (2021). Elastic collision - Particles inside a box (https://www.mathworks.com/matlabcentral/fileexchange/76379-elastic-collision-particles-inside-a-box), MATLAB Central File Exchange. Retrieved .

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