THE AUDITORY MODELING TOOLBOX

Applies to version: 1.2.0

View the code

Go to function

SPH2HORPOLAR - from spherical to horizontal-polar coordinate system

Usage

[lat,pol] = sph2horpolar(azi,ele)

Input parameters

azi azimuth in deg
ele elevation in deg

Output parameters

lat lateral angle in deg, [-90°,+90°]
pol polar angle in deg, [-90°,270°]

Description

geo2horpolar(...) converts spherical coordinates (azimuth and elevation) into the coordinates of the horizontal-polar system, i.e., lateral and polar angles.