Convert azimuth and elevation angle to broadside angle
Convert Azimuth Angle to Broadside Angle
Return the broadside angle corresponding to 45° azimuth and 0° elevation.
bsang = az2broadside(45)
bsang = 45.0000
Convert Azimuth and Elevation to Broadside Angle
Return the broadside angle corresponding to 45° azimuth and 45° elevation.
bsang = az2broadside(45,45)
bsang = 30.0000
Convert Multiple Azimuth and Elevation Angles to Broadside Angles
Return broadside angles for 10 azimuth-elevation pairs.
az = (75:5:120)'; el = (45:5:90)'; bsang = az2broadside(az,el);
az — Azimuth angle
scalar | vector of real values
Azimuth angle, specified as a scalar or vector of real values. Azimuth angles lie in the range from –180° to 180°. Units are in degrees.
el — Elevation angle
0 (default) | scalar | vector of real values
Elevation angle, specified as a scalar or vector. The elevation angle lie in the range from
–90° to 90°. The length of
el must equal the length of
az. Units are in degrees.
Broadside angles are useful in describing the response pattern of a uniform linear array (ULA).
For the definition of the broadside angle and how to convert between azimuth and elevation, and broadside angle see Broadside Angles. For definitions of the azimuth and elevation angles, see Azimuth and Elevation Angles.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Does not support variable-size inputs.
Introduced in R2011a