VInfRPToRV:

% Generate RV from parameters

 Computes hyperbolic elements from velocity at infinity, radius at perigee
 Inclination, argument or perigee and longitude of the ascending node
 are optional.

 Tyupe VInfRPToRV for a demo.

--------------------------------------------------------------------------
   Form:
   [r,v] = VinfRPToRV( vInf, rP, f, i, lon, arg, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   vInf  (1,1)   Velocity at infinity (km/s)
   rP    (1,1)   Radius of perigee (km)
   f     (1,1)   True anomaly (rad)
   mu    (1,1)   Gravitational parameter (km^2/s^3) (Default earth)
   i     (1,1)   Inclination (rad)
   lon   (1,1)   Longitude of the ascending node (rad)
   arg   (1,1)   Argument of perigee (rad)

   -------
   Outputs
   -------
   r     (3,1)   Position (km)
   v     (3,1)   Velocity (km/s)
   el    (1,6)   [a i L w e M]
   t     (1,1)   Time to or from periapsis

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

Children:

Common: Database/Constant
OrbitMiniToolbox: Support/El2RV
SC: BasicOrbit/Nu2M