# height2el

Convert target height to elevation angle

Since R2021a

## Description

example

el = height2el(tgtht,anht,R) returns the target elevation angle in degrees. This function assumes that heights are referenced to the ground.

el = height2el(___,model) specifies the Earth model used to compute the target elevation. Specify model as 'Curved' or 'Flat'.

el = height2el(___,re) specifies the effective Earth radius in meters as a positive scalar re.

## Examples

collapse all

Determine the elevation angle of a target given a target height of 8 km, sensor height of 10 m, and range of 300 km. Convert the target height and range to meters.

tgtht = 8e3;
anht = 10;
R = 300e3;

el = height2el(tgtht,anht,R)
el = 0.5129

## Input Arguments

collapse all

Target height, specified as a scalar or M-length vector. Units are in meters.

Data Types: double

Sensor height, specified as a scalar or M-length vector. Units are in meters.

Data Types: double

Range between target and sensor, specified as a scalar or M-length vector. Units are in meters.

Data Types: double

Earth model used to compute target elevation angle, specified as 'Curved' or 'Flat'. By default, the height2el function assumes a curved Earth model.

Effective Earth radius, specified as a positive scalar. By default, re is 4/3 of the Earth radius. Units are in meters. The function ignores this input when model is set to 'Flat'.

Data Types: double

## Output Arguments

collapse all

Target elevation angle, returned as a scalar or M-length vector. Units are in degrees.

## References

[1] Barton, David K. Radar Equations for Modern Radar. Artech House Radar Series. Norwood, Mass: Artech House, 2013.

## Version History

Introduced in R2021a