Skip to main content
. 2022 Sep 13;22(18):6909. doi: 10.3390/s22186909
Algorithm 2 Operation of the resilient estimation with Gaussian disturbance/noise
Input: z^1, z^2, ⋯, z^p, P1, P12, ⋯, Pp(p1), Pp
Output: J*, x^, g, f
Initialization: J*=[p], x^=Ψz^, g=0, f=0
 1: while system (1) is running do
 2:    x^=ΨJ*z^J*
 3:    r=z^J*ΦJ*x^
 4:    ζ=PJ*ΦJ*ΨJ*PJ*12r
 5:    g=ζζ
 6:    if gΔTHJ* then
 7:       f=0
 8:    else if g>ΔTHJ* then
 9:       f=1
 10:       for J[p] satisfying |J|=pq do
 11:          x^J=ΨJz^J
 12:          rJ=z^JΦJx^J
 13:          ζJ=PJΦJΨJPJ12rJ
 14:          gJ=ζJζJ
 15:       end for
 16:       J*=arg maxJ[p]|J|=pqpgJgJ
 17:    end if
 18: end while