staticStability
Class: Aero.FixedWing
Namespace: Aero
Syntax
stability = staticStability(aircraft,state)
stability = staticStability(___,Name,Value)
[stability,derivatives] = staticStability(___)
Description
calculates the static stability stability
= staticStability(aircraft
,state
)stability
of a fixedwing aircraft
aircraft
at an Aero.FixedWing.State
state
. This method calculates static stability from changes in body
forces and moments due to perturbations of an aircraft state. By default, these states are
airspeed, angle of attack, angle of side slip, and body roll rates. To change these states,
see criteriaTable
.
The staticStability
method evaluates the changes in body forces and
moments after a perturbation as either greater than, equal to, or less than 0 using the
matching entry in the criteria table.
If the evaluation of a criterion is met, the aircraft is statically stable at that condition.
If the evaluation of a criterion is not met, the aircraft is statically unstable at that condition.
If the perturbation value is set to
0
, the aircraft is statically neutral at that condition.
calculates the static stability result with the specified stability
= staticStability(___,Name,Value
)Name,Value
arguments. Specify any of the input argument combinations in the previous syntaxes followed by
Name,Value
pairs as the last input arguments.
[
returns the body forces and moments derivatives table along with the static stability. Specify
any of the input argument combinations in the previous syntaxes.stability
,derivatives
] = staticStability(___)
Input Arguments
aircraft
— Aero.FixedWing
object
scalar
Aero.FixedWing
object, specified as a scalar.
Data Types: double
state
— Aero.FixedWing.State
object
scalar
Aero.FixedWing.State
object, specified as a scalar.
Data Types: double
NameValue Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Namevalue arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: 'RelativePerturbation','1e5'
CriteriaTable
— Static stability test criteria
6by8 table (default)  6byN table
Static stability test criteria, specified as a 6byN table, where N is number of variables.
If the value being evaluated is 0, it is neutral.
If the value being evaluated does not meet the criteria, it is unstable.
If the criterion is an empty string or is missing, then the stability result is an empty string.
The criteria table has these requirements:
Each entry in the criteria table must be
'<'
,'>'
,''
, or missing.The table must have six rows:
'FX'
,'FY'
,'FZ'
,'L'
,'M'
, and'N'
.N number of variables for columns.
By default, this table appears as:
U  V  W  Alpha  Beta  P  Q  R  

FX  '<'  ''  ''  ''  ''  ''  ''  '' 
FY  ''  '<'  ''  ''  ''  ''  ''  '' 
FZ  ''  ''  '<'  ''  ''  ''  ''  '' 
L  ''  ''  ''  ''  ''  '<'  '<'  '' 
M  '>'  ''  ''  '<'  ''  ''  '<'  '' 
N  ''  ''  ''  ''  '>'  ''  ''  '<' 
Data Types: string
RelativePerturbation
— Relative perturbation
1e5
(default)  scalar numeric
Relative perturbation of the system, specified as a scalar numeric. This perturbation takes the form of:
Perturbation Type  Definition 

System State perturbation 

System input perturbation 

To calculate the Jacobian of the system, linearize
uses the
result of these equations in conjunction with the
'DifferentialMethod'
property.
Example: 'RelativePerturbation',1e5
Data Types: double
DifferentialMethod
— Direction while perturbing model
'Forward'
(default)  'Backward'
 'Central'
Direction while perturbing, specified as 'Forward'
,
'Backward'
, or 'Central'
.
Direction  Description 

 Forward difference method that adds 
 Backward difference method that adds statePert and
ctrlPert to the base states an inputs,
respectively. 
 Central difference method that adds and subtracts

Example: 'DifferentialMethod','Backward'
Data Types: char
 string
OutputReferenceFrame
— Output reference
"Body"
(default)  "Wind"
 "Stability"
Output reference of the forces and moments calculation, specified as:
"Body"
"Wind"
"Stability"
Example: OutputReferenceFrame="Stability"
Output Arguments
stability
— Stability of fixedwing aircraft
6byN table
Stability of fixedwing aircraft, returned as a 6byN table.
derivatives
— Forces and moments derivatives
6byN table
Forces and moments derivatives output in OutputReferenceFrame
,
returned as a 6byN table.
Examples
Calculate Static Stability of Cessna C182
Calculate the static stability of a Cessna C182.
[C182, CruiseState] = astC182(); stability = staticStability(C182, CruiseState)
stability = 6×8 table U V W Alpha Beta P Q R ________ ________ ________ ________ ________ ________ ________ ________ FX "Stable" "" "" "" "" "" "" "" FY "" "Stable" "" "" "" "" "" "" FZ "" "" "Stable" "" "" "" "" "" L "" "" "" "" "Stable" "Stable" "" "" M "Stable" "" "" "Stable" "" "" "Stable" "" N "" "" "" "" "Stable" "" "" "Stable"
Calculate Static Stability of Cessna C182 with Custom Criteria Table
Calculate the static stability of a Cessna C182 with a custom criteria table.
[C182, CruiseState] = astC182(); CT = C182.criteriaTable() CT{"FX", "U"} = ">" stability = staticStability(C182, CruiseState, "CriteriaTable", CT)
CT = 6×8 table U V W Alpha Beta P Q R ___ ___ ___ _____ ____ ___ ___ ___ FX "<" "" "" "" "" "" "" "" FY "" "<" "" "" "" "" "" "" FZ "" "" "<" "" "" "" "" "" L "" "" "" "" "<" "<" "" "" M ">" "" "" "<" "" "" "<" "" N "" "" "" "" ">" "" "" "<" CT = 6×8 table U V W Alpha Beta P Q R ___ ___ ___ _____ ____ ___ ___ ___ FX ">" "" "" "" "" "" "" "" FY "" "<" "" "" "" "" "" "" FZ "" "" "<" "" "" "" "" "" L "" "" "" "" "<" "<" "" "" M ">" "" "" "<" "" "" "<" "" N "" "" "" "" ">" "" "" "<" stability = 6×8 table U V W Alpha Beta P Q R __________ ________ ________ ________ ________ ________ ________ ________ FX "Unstable" "" "" "" "" "" "" "" FY "" "Stable" "" "" "" "" "" "" FZ "" "" "Stable" "" "" "" "" "" L "" "" "" "" "Stable" "Stable" "" "" M "Stable" "" "" "Stable" "" "" "Stable" "" N "" "" "" "" "Stable" "" "" "Stable"
Calculate Static Stability of Cessna C182 with Central Differential Method
Calculate the static stability of a Cessna C182 using the central differential method.
[C182, CruiseState] = astC182(); stability = staticStability(C182, CruiseState, "DifferentialMethod", "Central")
stability = 6×8 table U V W Alpha Beta P Q R ________ ________ ________ ________ ________ ________ ________ ________ FX "Stable" "" "" "" "" "" "" "" FY "" "Stable" "" "" "" "" "" "" FZ "" "" "Stable" "" "" "" "" "" L "" "" "" "" "Stable" "Stable" "" "" M "Stable" "" "" "Stable" "" "" "Stable" "" N "" "" "" "" "Stable" "" "" "Stable"
Calculate Static Stability and Derivatives of Cessna C182
Calculate the static stability and derivatives of a Cessna C182.
[C182, CruiseState] = astC182(); [stability,derivatives] = staticStability(C182, CruiseState)
stability = 6×8 table U V W Alpha Beta P Q R ________ ________ ________ ________ ________ ________ ________ ________ FX "Stable" "" "" "" "" "" "" "" FY "" "Stable" "" "" "" "" "" "" FZ "" "" "Stable" "" "" "" "" "" L "" "" "" "" "Stable" "Stable" "" "" M "Stable" "" "" "Stable" "" "" "Stable" "" N "" "" "" "" "Stable" "" "" "Stable" derivatives = 6×8 table U V W Alpha Beta P Q R _______ ___________ _______ ______ __________ ___________ ___________ ______ FX 2.118 5.4001e08 7.2955 1606.1 0.0023309 0 0 0 FY 0 15.415 0 0 3392.8 647.47 0 1847.5 FZ 24.083 5.9117e07 174.03 38305 0.026503 0 33669 0 L 0 130.33 0 0 28686 1.5042e+05 0 24801 M 17.028 4.5475e07 105.88 23303 0.018739 0 5.2223e+05 0 N 0 83.944 0 0 18476 8595.5 0 29248
Version History
Introduced in R2021a
See Also
Aero.FixedWing
 criteriaTable
 forcesAndMoments
 linearize
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
 América Latina (Español)
 Canada (English)
 United States (English)
Europe
 Belgium (English)
 Denmark (English)
 Deutschland (Deutsch)
 España (Español)
 Finland (English)
 France (Français)
 Ireland (English)
 Italia (Italiano)
 Luxembourg (English)
 Netherlands (English)
 Norway (English)
 Österreich (Deutsch)
 Portugal (English)
 Sweden (English)
 Switzerland
 United Kingdom (English)