CartOrb2Cyl:

Path: Orbit/OrbitCoord

% Convert a cartesian orbit state to cylindrical orbit coordinates.
--------------------------------------------------------------------------
   Form:
   d = CartOrb2Cyl( x )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x               (6,1) [r;v]

   -------
   Outputs
   -------
   d               (6,:) [r;theta;z;rDot;thetaDot;zDot]

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

Back to the Orbit Module page