Sliding Top Explorer

Live Script exploring a spinning symmetric top sliding with friction.
6 Downloads
Updated 9 Feb 2026

View License

This educational Live Script simulates the motion of a symmetric spinning top with a point-like support that is constrained to slide on a horizontal surface subject to Coulomb friction. The angular orientation and center of mass motion are computed numerically according to Newton's laws for rigid body dynamics using quaternions. Various initial conditions may be explored, each illustrated with plots and an animation. The results agree with a textbook calculation using Euler angles in case the support point is fixed.
This script may interest students and instructors of physics with a background in intermediate-level mechanics. 'Try this' suggestions, coding 'Challenges,' hyperlinks, and references are included for further exploration. Additional educational Live Scripts by the author are available here.

Cite As

Duncan Carlsmith (2026). Sliding Top Explorer (https://www.mathworks.com/matlabcentral/fileexchange/182659-sliding-top-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.01

Added interactive_examples tag

1.0.0