Sliding Top Explorer

Live Script exploring a spinning symmetric top sliding with friction.
4 Downloads
Updated 22 Nov 2025

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 (2025). Sliding Top Explorer (https://uk.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SlidingTopExplorerfolder

Version Published Release Notes
1.0.0