Path: Common/Quaternion
% Animate the evolution of a quaternion over time.
Type AnimQ for a demo.
--------------------------------------------------------------------------
Form:
h = AnimQ( q, speed, h, propName, propValue )
--------------------------------------------------------------------------
------
Inputs
------
q (4,:) Time history of quaternion
speed (1) Speed factor (0 slow - 100 fast)
h (1) Handle of the figure to animate in (optional)
propName {:} Array of property names
ie, {'linewidth','linestyle'}
propValue {:} Array of property values
ie, {2,'--'}
-------
Outputs
-------
h (1,1) Figure handle
--------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: General/Watermark Common: Graphics/NewFig Common: Quaternion/Q2Mat Math: Linear/Unit
Back to the Common Module page