dcmbody2wind
Convert angle of attack and sideslip angle to direction cosine matrix
Description
Examples
Determine Direction Cosine Matrix from Angle of Attack and Sideslip Angle
Determine the direction cosine matrix dcm
from the angle of attack and sideslip angle.
alpha = 0.4363; beta = 0.1745; dcm = dcmbody2wind(alpha, beta)
dcm = 3×3
0.8926 0.1736 0.4162
-0.1574 0.9848 -0.0734
-0.4226 0 0.9063
Determine Direction Cosine Matrix from Multiple Angles of Attack and Sideslip Angles
Determine the direction cosine matrix from multiple angles of attack and sideslip angles.
alpha = [0.4363 0.1745]; beta = [0.1745 0.0873]; dcm = dcmbody2wind(alpha, beta)
dcm = dcm(:,:,1) = 0.8926 0.1736 0.4162 -0.1574 0.9848 -0.0734 -0.4226 0 0.9063 dcm(:,:,2) = 0.9811 0.0872 0.1730 -0.0859 0.9962 -0.0151 -0.1736 0 0.9848
Input Arguments
alpha
— Angles of attack
array
Angles of attack, specified as an array of m angles of attack, in
radians. dcm
defines the transformation of the body frame to the
stability frame.
Data Types: double
beta
— Sideslip angles
array
Sideslip angles, specified as an m array of sideslip angles, 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.
dcm
performs the coordinate transformation of a vector in
body-axes into a vector in wind-axes.
Version History
Introduced in R2006b
See Also
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)