Convert azimuth and elevation angle to broadside angle
bsang = az2broadside(az)
bsang = az2broadside(az,el)
Return the broadside angle corresponding to 45° azimuth and 0° elevation.
bsang = az2broadside(45)
bsang = 45.0000
Return the broadside angle corresponding to 45° azimuth and 45° elevation.
bsang = az2broadside(45,45)
bsang = 30.0000
Return broadside angles for 10 azimuth-elevation pairs.
az = (75:5:120)'; el = (45:5:90)'; bsang = az2broadside(az,el);
az— Azimuth angle
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.
Usage notes and limitations:
Does not support variable-size inputs.