scalar:

---------------------------------------------------------------------------
   Returns the scalar part of a quaternion.
---------------------------------------------------------------------------
   Form:
   s = scalar( a )
---------------------------------------------------------------------------

   ------
   Inputs
   ------
   a       (:,:) Quaternion

   -------
   Outputs 
   -------
   s       (1,1) Scalar part

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

Children:

Common: Classes/@quat/ctranspose.m
Common: Classes/@quat/get.m
Common: Classes/@quat/matrix.m
Common: Classes/@quat/mtimes.m
Common: Classes/@quat/quat.m
Common: Classes/@quat/scalar.m
Common: Classes/@quat/vector.m