# slant2grndrange

Convert slant range to ground range projection

Since R2021a

## Description

example

grndrng = slant2grndrange(slrng,grazang) returns the ground range projection grndrng corresponding to the slant range slrng and grazing angle grazang.

## Examples

collapse all

Determine the ground range projection given a slant range of 2000 m and a grazing angle of ${30}^{\circ }$.

slantrng = 2000;
grazang = 30;

Compute the ground range projection.

grndrng = slant2grndrange(slantrng,grazang)
grndrng = 1.7321e+03

Compute the ground range projection for a target having a slant range of 1000 m from a sensor. The sensor is mounted on a platform that is 300 m above ground. Assume the Earth is flat.

gang = grazingang(300,1000);  % Grazing angle
depang = gang;                % Depression angle
grndrng = slant2grndrange(1000,gang)
grndrng = 953.9561

Repeat the computation, but now assume the Earth is curved.

gangsph = grazingang(300,1000,'Curved',Rearth);      % Grazing angle
depangsph = depressionang(300,1000,'Curved',Rearth); % Depression angle
tgtHeight = 0;                                       % Smooth Earth
grndrngcurved = 1.2344e+03

## Input Arguments

collapse all

Slant range 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

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

## Version History

Introduced in R2021a