Main Content

azel2uv

Convert azimuth/elevation angles to u/v coordinates

Description

UV = azel2uv(AzEl) converts the azimuth/elevation angle pairs to their corresponding coordinates in u/v space.

example

Examples

collapse all

Find the corresponding uv representation for 30° azimuth and 0° elevation.

uv = azel2uv([30;0])
uv = 2×1

    0.5000
         0

Input Arguments

collapse all

Azimuth and elevation angles, specified as a two-row matrix. Each column of the matrix represents an angle pair in the form [azimuth;elevation]. Azimuth angles must lie in the range [-90, 90]. Units are in degrees.

Data Types: double

Output Arguments

collapse all

Angle in u/v space, returned as a two-row matrix. Each column of the matrix represents an angle in the form [u; v]. The matrix dimensions of UV are the same as those of AzEl.

More About

collapse all

Extended Capabilities

expand all

Version History

Introduced in R2012a