Convert beat frequency to range
r = beat2range(fb,slope)example
r = beat2range(fb,slope,c)
Assume that the FMCW waveform sweeps a band of 3 MHz in 2 ms. The dechirped target return has a beat frequency of 1 kHz.
slope = 30e6/(2e-3); fb = 1e3; r = beat2range(fb,slope);
fb— Beat frequency of dechirped signalM-by-1 vector | M-by-2 matrix
Beat frequency of dechirped signal, specified as an M-by-1 vector
or M-by-2 matrix in hertz. If the FMCW signal performs an upsweep
fb is a vector of beat frequencies.
If the FMCW signal has a triangular sweep,
an M-by-2 matrix in which each row represents a pair of beat frequencies.
Each row has the form
slope— Sweep slopenonzero scalar
Slope of FMCW sweep, specified as a nonzero scalar in hertz
per second. If the FMCW signal has a triangular sweep,
the sweep slope of the up-sweep half. In this case,
be positive and the down-sweep half is assumed to have a slope of
c— Signal propagation speedspeed of light (default) | positive scalar
Signal propagation speed, specified as a positive scalar in meters per second.
For an upsweep or downsweep FMCW signal, the beat frequency is Ft – Fr. In this expression, Ft is the transmitted signal's carrier frequency, and Fr is the received signal's carrier frequency.
For an FMCW signal with triangular sweep, the upsweep and downsweep have separate beat frequencies.
 Pace, Phillip. Detecting and Classifying Low Probability of Intercept Radar. Artech House, Boston, 2009.
 Skolnik, M.I. Introduction to Radar Systems. New York: McGraw-Hill, 1980.