diff --git a/src/utils/matlab/vtl/kf_prototype.m b/src/utils/matlab/vtl/kf_prototype.m index 422f0ff26..b5c04ca0e 100644 --- a/src/utils/matlab/vtl/kf_prototype.m +++ b/src/utils/matlab/vtl/kf_prototype.m @@ -122,7 +122,7 @@ for t=2:length(navSolution.RX_time) rhoDot_pri(chan,t)=(sat_velX(chan,t)-xDot_u)*a_x(chan,t)... +(sat_velY(chan,t)-yDot_u)*a_y(chan,t)... - +(sat_velZ(chan,t)-zDot_u)*a_z(chan,t)+cdeltatDot_u; + +(sat_velZ(chan,t)-zDot_u)*a_z(chan,t); end for chan=1:5 % Measurement matrix H assembling @@ -140,7 +140,12 @@ for t=2:length(navSolution.RX_time) % Kalman estimation (measurement update) for chan=1:5 % Measurement matrix H assembling kf_yerr(chan,t)=c_pr_m(chan,t)-sat_prg_m(chan,t); - kf_yerr(chan+sat_number,t)=(sat_dopp_hz(chan,t)*Lambda_GPS_L1+cdeltatDot_u)-rhoDot_pri(chan,t); + + if (t