Path: SC/Sensor
% Computes range and range rate measurements. -------------------------------------------------------------------------- Form: [r, rRate] = RangeMeasurement( r, v, c, rSource, vSource ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position v (3,:) Velocity c (2,:) Clock errors [bias;bias drift] rSource (3,1) Position of source vSource (3,1) Velocity of source ------- Outputs ------- range (1,:) Range rangeRate (1,:) Range rate --------------------------------------------------------------------------