11 lines
186 B
Matlab
11 lines
186 B
Matlab
function [t] = rng2time(r, c0)
|
|
|
|
% Objective : Calculating the time that a signal takes to propagate given range, r
|
|
|
|
if isempty(c0)
|
|
c0 = physconst('LightSpeed');
|
|
end
|
|
|
|
t = r / c0;
|
|
|
|
end |