animated spinning top with Cardan mounting
The 3D animation is created using the surf and drawnow commands. An example animation file is provided. The rotation is based on Euler/Cardan angles and performed with individually computed rotation matrices (rather than using Matlab's own rotate algorithm).
In a future version, there will be more documentation on the animation data and scripts for creating animation files (both in Mathematica and Matlab) will be provided. Also, avi export will be available in the next version.
Cite As
Alexander Erlich (2025). animated spinning top with Cardan mounting (https://www.mathworks.com/matlabcentral/fileexchange/28309-animated-spinning-top-with-cardan-mounting), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
- Sciences > Physics > General Physics > Classical Mechanics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.