Code covered by the BSD License
-
...
CREATEINNERBARS Creates the bars of the inner (blue) ring
-
...
CREATEOUTERBARS Creates the red motionless supporting bar
-
EuMat( phi, theta, psi )
EUMAT returns a rotation matrix rotating an object by the Cardan angles
-
cylinderWeights(r1,r2)
CYLINDERWEIGHTS creates the innermost blue bars with heavy looking cylinders
-
multiplyEuMat( EuMat, X,Y,Z )
MULTIPLYEUMAT takes the X, Y, Z coordinates of an object and returns the
-
sTopMain(fileToRead)
STOPMAIN Plots an animated spinning top with Cardan mounting from raw
-
torus (a, n, r, kpi)
TORUS Generate a torus.
-
sTopEuler.m
-
View all files
animated spinning top with Cardan mounting
by Alexander Erlich
27 Jul 2010
(Updated 01 Aug 2010)
Plots an animated spinning top with Cardan mounting from raw animation data.
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 08 Oct 2011 |
Mr Smart
|
|
|
| Updates |
| 01 Aug 2010 |
- added PDF documentation
- added two animation data files representing separatrix motion of an Euler top |
|
Contact us at files@mathworks.com