Skip to main content
. 2023 Jun 18;23(12):5689. doi: 10.3390/s23125689
Algorithm 1: Proposed channel estimator

1 Obtain the initial channel estimate Hh^=h^1,,h^Nr from (3)

2 Initialize the state S1=Xp,Xp,ϕ.

3 for d=1 to Md do(

4   for nMddo(

5    Compute the optimal policy a=π(Sn) from (26).

6    Set the optimal values j=0 for a=0 and xj=x^[n] for a=1.

7    Update Sn+1Un+1(a,j)Sn from (12).

8    if a==1 and Nw<|C|then(

9      Remove the state elements in Sn+1.

10      Xn+1Xn+1Xn+1[C(1)],

11      X^n+1X^n+1X^n[C(1)],

12      CCC(1).

13    end(

14    Refine the state elements in Xn+11ϵ21Xn+1 and

     X^n+11ϵ21X^n+1.

15  end(

16  Update the channel estimate Hh^=h^1Sn,,h^NrSn from (10).

17 end(