Main Content

forcesAndMoments

Class: Aero.FixedWing
Namespace: Aero

Calculate forces and moments of fixed-wing aircraft

Since R2021a

Syntax

[F,M] = forcesAndMoments(aircraft,state)
[F,M] = forcesAndMoments(aircraft,state,OutputReferenceFrame=outputReference)

Description

[F,M] = forcesAndMoments(aircraft,state) calculates the forces and moments of a fixed-wing aircraft, aircraft, based around a state state.

[F,M] = forcesAndMoments(aircraft,state,OutputReferenceFrame=outputReference) calculates the forces and moments using an output reference.

Input Arguments

expand all

Aero.FixedWing object, specified as a scalar.

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

Output reference frame of the forces and moments calculation, specified as:

  • "Body"

  • "Wind"

  • "Stability"

Example: OutputReferenceFrame="Stability"

Output Arguments

expand all

Forces output in OutputReferenceFrame, returned as a three-element vector.

Moments output in OutputReferenceFrame, returned as a three-element vector.

Examples

expand all

This example shows to calculate the forces and moments of a Cessna 182.

[C182,CruiseState] = astC182();
[F,M] = forcesAndMoments(C182, CruiseState)
F = 3×1
105 ×

   -1.8240
         0
    0.0002

M = 3×1
103 ×

         0
    1.8968
         0

Version History

Introduced in R2021a