ThrustAngleVGain:

--------------------------------------------------------------------------
   Velocity to be gained for a 2D launch simulation.
   Computes the thrust angle based on the targeted velocity at burnout.

   Since version 2015.1
--------------------------------------------------------------------------
   Form:
   params = ThrustAngleVGain( 'params' )
   angle  = ThrustAngleVGain( x, d, params )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x        (4+n,1)   State
   d           (.)    Data structure
     .rocket            Rocket model data structure
     .Rp                Planet radius
   params      (.)    Parameters
      .hT

   -------
   Outputs
   -------
   angle    (1,1)    Commanded thrust angle

--------------------------------------------------------------------------
   Reference: Battin, Revised Edition, Sect. 11.7 Powered Orbital Transfer
   Maneuvers
--------------------------------------------------------------------------

Children:

LaunchVehicle: LVDatabase/RocketDatabase
LaunchVehicle: VehicleModels/SetPayloadMass
Math: Linear/Unit