Research Article

Opportunistic NOMA-Based Massive MIMO Precoding for 5G New Radio

Algorithm 1

Selection algorithm for NOMA group users.
Input:
All user data configurations,
Initializtion:
Indices of the NOMA group user, ndex = ; Indices of the multicast group user, ndex1 = ; Indices of the pre-NOMA
group user, ndex2 = ;
Selection:
1: Estimating the distance from the base station to every user by .
2: Estimating the path loss based on the distance. The path loss is recorded in the vector
3: for
4: if
5: ;
6: end
7: if
8: ;
9: end
10: end
11: Some users are selected from ndex2 as NOMA group users; these selected users need to be in the same beam
as a certain user in ndex1. ndex shows all the indices of the NOMA group users.
Output:
Return the indices of the NOMA group users, .