BilinearTangentVector:

Path: SCPro/Landers

% Bilinear tangent law in vector form for orbit insertion or landing.
   Generates a vector given an orbit's r and v vector. 
   r and v are used to determine the orbit plane.

   Type BilinearTangentVector for a demo of a lunar takeoff.

   Units may be of any type as long as they are consistent.

   Since Version 11
--------------------------------------------------------------------------
   Form:
   [w, t, q] = BilinearTangentVector( r, v, g, a, h, n, opt, type )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r       (3,1)	Orbit vector ECI
   v       (3,1)   Orbit velocity ECI
   g       (1,1)	Surface acceleration
   a       (1,1)	Engine acceleration
   h       (1,1)	Final or initial altitude
   n       (1,1)	Number of steps
   opt     (1,:)	fminsearch options
   type    (1,1) 0 = takeoff, 1 = landing

   -------
   Outputs
   -------
   w       (3,n)	Thrust vector ECI
   t       (1,n)	Corresponding time vector
   q       (4,n)	Quaternion from ECI to the thrust vector

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

Children:

AerospaceUtils: Coord/QLVLH
Common: Database/Constant
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Common: Quaternion/QTForm
Math: Linear/Mag
SCPro: Landers/BilinearTangentLaw

Back to the SCPro Module page