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).
You need the Virtual Reality Toolbox to be installed.
Download and run the following scripts:
Nassim Khaled (2023). Collision of Two Boxes (https://www.mathworks.com/matlabcentral/fileexchange/44267-collision-of-two-boxes), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성Windows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!