Skip to main content
. 2023 Sep 23;23(19):8041. doi: 10.3390/s23198041
Algorithm 1: RIS Phase Shift Algorithm.
  Input: RIS parameter value
  Output: Final configuration of the RIS elements
  1:  Initialize the θtn = 0
  2:  For RIS element: = 1 to N do        // N is elements of RIS
  3:      Compute θtn using Equation (9)  // compute the reflection coefficient
  4:    Compute ϕtn
  5:    Update θtn
  6:  end for