Skip to main content
. 2024 Aug 11;24(16):5188. doi: 10.3390/s24165188
Algorithm 1 Iterative Precoder Design for Network Massive MIMO OWC System.

     Input: The channel matrix H, the noise variance σ2 and total power constrant P.

     Output: The precoding matrix Pj,m.

  • 1:

    Initialize the precoding matrix satisfying the power constraint ∑i=1Utr(Pi,ℓPi,ℓT)≤P.

  • 2:

    for  l=1,..., L do

  • 3:

        Initialize variables for bisection search: λmin, λmax.

  • 4:

        while λmax−λmin>ϵ do

  • 5:

            Compute λℓ=12(λmin+λmax).

  • 6:

            Compute the optimal precoding matrix Pj,m by using (12).

  • 7:

            Calculate total power p.

  • 8:

            if p>P then

  • 9:

               λmin=λℓ

  • 10:

            else

  • 11:

               λmax=λℓ

  • 12:

            end if

  • 13:

        end while

  • 14:

        until: convergence or predefined value.

  • 15:

    end for