az2broadside

Convert azimuth angle to broadside angle

Syntax

BSang = az2broadside(az,el)

Description

BSang = az2broadside(az,el) returns the broadside angle BSang corresponding to the azimuth angle, az, and the elevation angle, el. All angles are expressed in degrees and in the local coordinate system. az and el can be either scalars or vectors. If both of them are vectors, their dimensions must match.

Examples

expand all

Broadside Angle for Scalar Inputs

Return the broadside angle corresponding to 45 degrees azimuth and 45 degrees elevation.

BSang = az2broadside(45,45);

Broadside Angles for Vector Inputs

Return broadside angles for 10 azimuth/elevation pairs. The variables az, el, and BSang are all 10-by-1 column vectors.

az = (75:5:120)';
el = (45:5:90)';
BSang = az2broadside(az,el);

More About

expand all

Broadside Angle

The broadside angle β corresponding to an azimuth angle az and an elevation angle el is:

β=sin1(sin(az)cos(el))

where –180 ≤ az ≤ 180 and –90 ≤ el ≤ 90.

Was this topic helpful?