Work with FixedWing Aircraft Using Functions
To easily create fixedwing aircraft in the Aerospace Toolbox, use the fixedWingAircraft
function and its supporting functions. Use these functions to:
Define aircraft dynamics.
Define aircraft dynamics from DATCOM files.
Perform static stability analyses using object methods.
Generate statespace representation with linearization methods.
Suggested Workflow
Consider this workflow when designing and building your fixedwing aircraft objects with these functions.
Objective  Use 

Define a fixedwing aircraft. 

Define the condition (state) of a fixedwing aircraft at an instance in time. 

Define data for any and all coefficients that describe the behavior of the aircraft.  fixedWingCoefficient — Numeric coefficient objects hold the data for
all coefficients that describe the behavior of the aircraft. 
Define an aerodynamic surface on a fixedwing aircraft. 

Define a thrust vector on a fixedwing aircraft. 

Define the fixedwing aircraft state environment. 

Define the properties for the fixedwing aircraft. 

After creating these fixedwing aircraft components, use object methods to work with them. For example, use object methods to perform static stability and linear analysis.
Static Stability Analysis
To perform static stability analysis of your fixedwing aircraft, use associated object methods:
Create a criteria table against which to perform static stability analysis.
To create a criteria table, use the
Aero.FixedWing.criteriaTable
method. This method creates a 6byN table, where N is the number of criteria variables.To evaluate the changes in forces and moments after a perturbation as either greater than, equal to, or less than 0 using the matching entry in the criteria table, use the
staticStability
method. The method uses this evaluation process.If the evaluation of a criteria is met, the aircraft is statically stable at that condition.
If the evaluation of a criteria is not met, the aircraft is statically unstable at that condition.
If the result of the perturbation is
0
, the aircraft is statically neutral at that condition.
Use this method only in the preliminary design phase. The
staticStability
method does not perform a requirementsbased analysis.
For more information on object methods, see Analyze FixedWing Aircraft with Objects.
For an example of static stability analysis, see Determine Nonlinear Dynamics and Static Stability of FixedWing Aircraft .
Linear Analysis
To perform the linear analysis of the fixedwing object at a given fixedwing state, use
the linearize
method.
This method linearizes a fixedwing aircraft around an initial state and creates a
statespace model for the linear analysis. To perform linear analysis:
Calculate the static stability of the fixedwing aircraft using the
staticStability
method.Linearize the fixedwing aircraft using the
linearize
method.
For an example of fixedwing aircraft linear analysis, see Analyze StateSpace Model for Linear Control and Static Stability Analysis.
Linear analysis requires the Control System Toolbox™ license.
See Also
fixedWingAircraft
 fixedWingState
 fixedWingCoefficient
 fixedWingSurface
 fixedWingThrust
 aircraftEnvironment
 aircraftProperties