Bouncing Ball with Damping and Temperature Visualization
In this demo, we show how you can model the damping and energy loss of a bouncing ball by modifying the contact equations. We compute the cumulative energy loss to the floor as a function of time and use resetting of the integrator to compute the bursts of energy transferred to the floor after each bounce. We then use a simplified heat equation with special conditions to model the temperature rise of the floor. We also show how you can create your own color dynamics of the visualization by changing from a cold color(blue) to a warm color(red).
Note that Simulink 3D Animation was formerly called as Virtual Reality Toolbox.
The Getting Started videos of which this demo is an extension are available here:
Zitieren als
Simulink Dude (2024). Bouncing Ball with Damping and Temperature Visualization (https://www.mathworks.com/matlabcentral/fileexchange/26098-bouncing-ball-with-damping-and-temperature-visualization), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.1 | Updated license |
||
1.0.0.0 |