dcmbody2stability
Convert body frame to stability frame transformation matrix
Description
calculates the direction cosine matrix dcm
= dcmbody2stability(anglesOfAttacks
)dcm
for given set of angles of
attack anglesOfAttacks
.
Examples
Determine Direction Cosine Matrix from One Angle of Attack
This example shows how to determine the direction cosine matrix from one angle of attack.
alpha = 0.4363; dcm = dcmbody2stability(alpha)
dcm = 3×3
0.9063 0 0.4226
0 1.0000 0
-0.4226 0 0.9063
Determine Direction Cosine Matrix from Multiple Angles of Attacks
This example shows how to determine the direction cosine matrix from multiple angles of attacks.
alpha = [0.4363 0.1745]; dcm = dcmbody2stability(alpha)
dcm = dcm(:,:,1) = 0.9063 0 0.4226 0 1.0000 0 -0.4226 0 0.9063 dcm(:,:,2) = 0.9848 0 0.1736 0 1.0000 0 -0.1736 0 0.9848
Input Arguments
anglesOfAttacks
— Angles of attacks
vector
Angles of attacks, specified as a vector, in radians.
Data Types: double
Output Arguments
dcm
— Direction cosine matrices
3-by-3-by-m matrix
Direction cosine matrices, returned as a 3-by-3-by-m matrix, where m is the number of direction cosine matrices. The direction cosine matrix performs the coordinate transformation of a vector in inertial axes to a vector in body axes.
Version History
See Also
Abrir ejemplo
Tiene una versión modificada de este ejemplo. ¿Desea abrir este ejemplo con sus modificaciones?
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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)