| Algorithm 1: RIS Phase Shift Algorithm. |
| Input: RIS parameter value Output: Final configuration of the RIS elements 1: = 0 2: For RIS element: = 1 to N do // N is elements of RIS 3: using Equation (9) // compute the reflection coefficient 4: Compute 5: Update 6: end for |