Skip to main content
. 2020 Oct 6;20(19):5689. doi: 10.3390/s20195689
Algorithm 1. Modified particle filter.

[{xki,wki}i=1Ns]:=SIR[{xkN:ki,wk1i}i=1Ns,p^,yk]

  • fori=1:Ns
    • Drawxkiq(xk|x0:k1i,y1:k)
    • Compute the importance weight wki according to (13) and (18)
    • Normalize the importance weight:wki:=wki/SUM[{wki}i=1Ns]
  • end for

  • Resample the particles at each step
    • [{xki,wki}i=1Ns]:=RESAMPLE[{xki,wki}i=1Ns]