Convert frequency offset to range
R = stretchfreq2rng(FREQ,SLOPE,REFRNG)
R = stretchfreq2rng(FREQ,SLOPE,REFRNG,V)
the range corresponding to the frequency offset
R = stretchfreq2rng(
The computation assumes you obtained
stretch processing with a reference range of
The sweeping slope of the linear FM waveform is
Frequency offset in hertz, specified as a scalar or vector.
Sweeping slope of the linear FM waveform, in hertz per second, specified as a nonzero scalar.
Reference range, in meters, specified as a scalar.
Propagation speed, in meters per second, specified as a positive scalar.
Default: Speed of light
Range in meters.
Range Corresponding to Frequency Offset
Calculate the range corresponding to a frequency offset of 2 kHz obtained from stretch processing. Assume the reference range is 5000 m and the linear FM waveform has a sweeping slope of 2 GHz/s.
r = stretchfreq2rng(2e3,2e9,5000)
r = 4.8501e+03
 Richards, M. A. Fundamentals of Radar Signal Processing. New York: McGraw-Hill, 2005.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Does not support variable-size inputs.