Main Content

grnd2slantrange

Convert ground range projection to slant range

    Description

    example

    slrng = grnd2slantrange(grndrng,grazang) returns the slant range slrng corresponding to the ground range projection grndrng.

    Examples

    collapse all

    Determine the slant range given a 1000 m ground range and a grazing angle of 30.

    grndrng = 1000;
    grazang = 30;

    Compute the slant range.

    slantrng = grnd2slantrange(grndrng,grazang)
    slantrng = 1.1547e+03
    

    Input Arguments

    collapse all

    Ground range projection in meters, specified as a positive real scalar or vector.

    Data Types: double

    Grazing angle in degrees, specified as a scalar in the range [0, 90].

    Data Types: double

    Output Arguments

    collapse all

    Slant range in meters, returned as a positive real scalar or vector. slrng has the same dimensionality as grndrng.

    Extended Capabilities

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

    Version History

    Introduced in R2021a