# bw2range

Convert bandwidth to range resolution

## Syntax

``rngres = bw2range(bw)``
``rngres = bw2range(bw,c)``

## Description

example

````rngres = bw2range(bw)` returns the range resolution of a signal corresponding to its bandwidth. Range resolution gives you the minimum range difference needed to distinguish two targets. The function applies to two-way propagation, as in a monostatic radar system.```

example

````rngres = bw2range(bw,c)` specifies the signal propagation speed, `c`.```

## Examples

collapse all

Assume you have a monostatic radar system that uses a rectangular waveform. Calculate the range resolution obtained using a bandwidth of 20 MHz.

```bw = 20e6; rngres = bw2range(bw)```
```rngres = 7.4948 ```

Calculate the range resolution of a two-way sonar system that uses a rectangular waveform. The signal bandwidth is 2 kHz. The speed of sound is 1520 m/s.

```bw = 2e3; c = 1520.0; rngres = bw2range(bw,c)```
```rngres = 0.3800 ```

## Input Arguments

collapse all

Signal bandwidth, specified as any array of array of positive real values. Units are in hertz.

Signal propagation speed, specified as a positive scalar. The default value is the output of `physconst('LightSpeed')`. Units are in meters per second.

Data Types: `double`

## Output Arguments

collapse all

Target range resolution, returned as a scalar or MATLAB array of positive real numbers. The dimensions of `rngres` are the same as those of `bw`. Units are in meters.

Data Types: `double`

## Tips

• This function assumes two-way propagation. For one-way propagation, you can find the required range resolution by multiplying the output of this function by 2.

## Algorithms

The function computes range resolution from ```rngres = c/(2*bw)```.

## References

[1] Skolnik, M. Introduction to Radar Systems, 3rd Ed. New York: McGraw-Hill, 2001.