pseudoranges
navigation · scripts/navigation/pseudoranges.m
PSEUDORANGES Pseudoranges between GNSS receiver and satellites (R2026a).
p = pseudoranges(recPos,satPos)
[p,pdot] = pseudoranges(recPos,satPos,recVel,satVel)
[p,pdot] = pseudoranges(__,'RangeAccuracy',a)
[p,pdot] = pseudoranges(__,'RangeRateAccuracy',b)
recPos is geodetic [lat lon alt] (deg, deg, m). satPos / satVel are
N-by-3 ECEF. recVel is NED [vn ve vd] m/s. Defaults: RangeAccuracy=1,
RangeRateAccuracy=0.02. Without velocity inputs, pdot is zeros(N,1).
Ranges include the first-order Sagnac term used for GNSS ECEF geometry.