Main Content

el2height

Convert target elevation angle to height

Since R2021a

    Description

    tgtht = el2height(el,anht,R) returns the target height in meters. This function assumes that heights are referenced to the ground.

    example

    tgtht = el2height(___,model) specifies the Earth model used to compute the target height. Specify model as 'Curved' or 'Flat'.

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

    Examples

    collapse all

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

    el = 0.5;
    anht = 10;
    R = 300e3;
    
    tgtht = el2height(el,anht,R)
    tgtht = 
    7.9325e+03
    

    Input Arguments

    collapse all

    Elevation angle to target, specified as a scalar or M-length vector. Units are in degrees.

    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 height, specified as 'Curved' or 'Flat'. By default, the el2height 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 height, returned as a scalar or M-length vector. Units are in meters.

    References

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

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021a