Skip to main content
. 2019 Nov 5;19(21):4821. doi: 10.3390/s19214821
Algorithm 2 Optimal beamforming policy
  • 1:

    Initiate w0 with constraint (16). Set step size λ=λint, and the minimum step size λmin. Obtain ξi,i∈R.

  • 2:

    Set n=0, calculate Rn=fwn by (12).

  • 3:

    while λ>λmin do

  • 4:

     Update wn′ according to (23) and calculate Rn′=fwn′.

  • 5:

     If Rn′>Rn, update Rn+1=Rn′, wn+1=wn′ and n←n+1. Otherwise, update λ=12λ.

  • 6:

    end while

  • 7:

    Output wn, Rn.