Collision of Two Boxes
This is one of the application problems in Springer's book "Virtual Reality and Animation for Matlab and Simulink Users".
The problem is a collision of two boxes. In one case, the collision is perfect, in the othere, some of the energy is lost(transformed into fricitonal heat).
http://www.springer.com/computer/information+systems+and+applications/book/978-1-4471-2329-3
You need the Virtual Reality Toolbox to be installed.
Download and run the following scripts:
collision_of_two_boxes_Part1
and
collision_of_two_boxes_Part2
Cite As
Nassim Khaled (2026). Collision of Two Boxes (https://se.mathworks.com/matlabcentral/fileexchange/44267-collision-of-two-boxes), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Simulink > Simulation >
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
