# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

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

collapse all

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); ```

collapse all

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

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

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