AirshipTrim:

--------------------------------------------------------------------------
   Compute the trim controls for an airship at a given flight condition.
--------------------------------------------------------------------------
   Form:
   [T,mu,dElv] = AirshipTrim( d, h, theta, alpha, V );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
 5 INPUTS:
   d           (.)       Airship model data structure
   h           (1)       Altitude                             [m]
   theta       (1)       Pitch angle                          [rad]
   alpha       (1)       Angle of attack                      [rad]
   V           (1)       Total velocity                       [m/s]
 OR
 2 INPUTS:
   d           (.)       Airship model data structure
   x           (.)       Aircraft state object                [m]

   -------
   Outputs
   -------
   T           (1)       Trim thrust value                    [N]
   mu          (1)       Trim thrust pitch angle              [rad]
   dELV        (1)       Trim elevator deflection             [rad]

--------------------------------------------------------------------------
   Copyright 2003 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------

Children:

AC: ACCoord/AlphBeta
AC: ACCoord/ECIToNED
AC: ACCoord/QECI
AC: ACDynamics/AC
AC: ACDynamics/ACInit
AC: Classes/@acstate/abs.m
AC: Classes/@acstate/acstate.m
AC: Classes/@acstate/get.m
AC: Classes/@acstate/length.m
AC: Classes/@acstate/minus.m
AC: Classes/@acstate/mrdivide.m
AC: Classes/@acstate/mtimes.m
AC: Classes/@acstate/plus.m
AC: Classes/@acstate/subsasgn.m
AC: Classes/@acstate/subsref.m
AC: Classes/@acstate/zeros.m
AeroUtils: AtmosphericCalculations/AirData
Airships: Mass/BuildAirshipMassModel
Airships: Modeling/BuildAirshipModel
Airships: Simulation/AirshipAero
Common: Atmosphere/StdAtm
Common: Quaternion/Q2Eul
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Transform/Altitude
Common: Transform/IConvP
Math: Linear/Mag