Main Content

getModes

Class: Aero.FixedWing.Specification
Namespace: Aero

Return list of all modes active in flying quality analysis

Since R2025a

Syntax

activeModes = getModes(specificationIn)

Description

activeModes = getModes(specificationIn) returns a list of all the active modes in the flying quality analysis, phugoid, short period, Dutch roll, spiral, and roll subsidence.

Input Arguments

expand all

Aero.FixedWing.Specification object, specified as a scalar.

Output Arguments

expand all

Active flight dynamic modes, returned as:

  • Phugoid — Long period oscillation mode

  • ShortPeriod — Short period oscillation mode

  • DutchRoll — Roll and yaw mode

  • Spiral — Spiral dive mode

  • RollSubsidence — Roll damping mode

Examples

expand all

Get the list of active modes for the Aero.FixedWing.Specfication object, spec.

Create the Aero.FixedWing.Specfication object.

spec = Aero.FixedWing.Specification
spec = 
  Specification with properties:

           Phugoid: [1×1 Aero.FixedWing.FlyingQuality.PhugoidMode]
       ShortPeriod: [1×1 Aero.FixedWing.FlyingQuality.ShortPeriodMode]
         DutchRoll: [1×1 Aero.FixedWing.FlyingQuality.DutchRollMode]
            Spiral: [1×1 Aero.FixedWing.FlyingQuality.SpiralMode]
    RollSubsidence: [1×1 Aero.FixedWing.FlyingQuality.RollSubsidenceMode]
        Properties: [1×1 Aero.Aircraft.Properties]

Get the active flight modes in spec.

modes = getModes(spec)
modes = 1×5 string
    "Phugoid"    "ShortPeriod"    "DutchRoll"    "Spiral"    "RollSubsidence"

Version History

Introduced in R2025a