15 lines
303 B
Matlab
15 lines
303 B
Matlab
function [f_beat] = rng2beat(rng, f_slope, c0)
|
|
|
|
% Objective : Converting the range [m] of a dechirped linear FMCW signal to
|
|
% its corresponding range, beat frequency [Hz]
|
|
%
|
|
% f_beat = (2 * f_slope * rng) / c0
|
|
%
|
|
|
|
if isempty(c0)
|
|
c0 = physconst('LightSpeed');
|
|
end
|
|
|
|
f_beat = 2 * rng / c0 * f_slope;
|
|
|
|
end |