Skip to main content
. 2018 Jun 15;18(6):1947. doi: 10.3390/s18061947
Algorithm 1 Computation of ideal Kalman filter gains on Poisson-distributed sequence. The gains do not depend on the actual measurements, so there is no need to include them in the calculations.

k1,1p=1

for j from 1 to n

  kj,0=cjp/(h2cjp+σR2)

  cj=(1-kjh)cjp

  kj,l=(1-kjh)kj,lp,l1,,j

  cn+1p=cn+ΔTnσQ2

  kj+1,lp=kj,l+1,l0,,j

end