Main Content

phitheta2uv

Convert phi/theta angles to u/v coordinates

Description

UV = phitheta2uv(PhiTheta) converts the phi/theta angle pairs to their corresponding u/v space coordinates.

example

Examples

collapse all

Find the corresponding u-v representation for φ = 30° and φ = 0°.

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

     0
     0

Input Arguments

collapse all

Phi and theta angles, specified as a two-row matrix. Each column of the matrix represents an angle in degrees, in the form [phi; theta].

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 PhiTheta.

More About

collapse all

Extended Capabilities

expand all

Version History

Introduced in R2012a