This repo contains the code for the projected gradient algorithm presented in the following scientific paper:
Nemanja Stefan Perović, Le-Nam Tran, Marco Di Renzo, and Mark F. Flanagan, "Achievable Rate Optimization for MIMO Systems with Reconfigurable Intelligent Surfaces," IEEE Trans. Wireless Commun., vol. 20, no. 6, pp. 3865-3882, Jun. 2021.
The code is also available at Code Ocean.