Accelerating the pace of engineering and science

# Documentation

Convert broadside angle to azimuth angle

## Description

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

## Examples

expand all

### Azimuth Angle for Scalar Inputs

Return the azimuth angle corresponding to a broadside angle of 45 degrees and an elevation angle of 20 degrees.

`az = broadside2az(45,20);`

### Azimuth Angles for Vector Inputs

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

```BSang = (45:5:90)';
el = (45:-5:0)';

expand all

### Azimuth Angle

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

$az={\mathrm{sin}}^{-1}\left(\mathrm{sin}\left(\beta \right)\mathrm{sec}\left(el\right)\right)$

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

Together the broadside and elevation angles must satisfy the following inequality:

$|\beta |+|el|\text{ }\text{ }\le 90$