Research Article
NOMA and OMA-Based Massive MIMO and Clustering Algorithms for Beyond 5G IoT Networks
Algorithm 2
User clustering algorithm.
| Step1: Total deployed 12 | | Step2: CSI calculate the distance of each user | | Step3: if (distance >600 m) | | {. | | User 12 attached with user 1; | | } | | Step4: else if (distance >500 m) | | { | | User 11 attached with user 2; | | } | | Step5: else if (distance >400 m) | | { | | User 10 attached with user 3; | | }. | | Step6: else if (distance >300 m) | | {. | | User 9 attached with user 4; | | } | | Step7: else if (cluster distance >200 m) | | { | | User 8 attached with user 5; | | } | | Step8: else | | { | | User 7 attached with user 6; | | }} | | End if |
|