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:

AC: ACData/ACTConstants
AerospaceUtils: Coord/QLVLH
SC: SCData/sCTConstants
SCPro: Landers/BilinearTangentLaw
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Quaternion/Mat2Q
Common: Quaternion/QTForm
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/Unit

Back to the SCPro Module page