QRand:

Path: Common/Quaternion

% Generates random quaternions. 
 The first element is always positive.
--------------------------------------------------------------------------
   Form:
   q = QRand(n)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n	(1,1)   Number of quaternions

   -------
   Outputs
   -------
   q	(4,n)   Random quaternions.    

--------------------------------------------------------------------------

Children:

Common: Quaternion/QUnit
Math: Linear/DupVect
Math: Linear/Mag

Back to the Common Module page