This is the source code of following paper [1].
[1] K. Ying, Z. Gao, S. Lyu, Y. Wu, H. Wang and M. Alouini, "GMD-Based Hybrid Beamforming for Large Reconfigurable Intelligent Surface Assisted Millimeter-Wave Massive MIMO," in IEEE Access, vol. 8, pp. 19530-19539, 2020.