Research Article

Joint Channel Allocation and Power Control for Uplink NOMA-Assisted Multi-UAV Networks

Algorithm 2

Power control.
1: GB uses the results of channel allocation calculated by algorithm 1 and the optimized initial power levels;
2: Initialize the dual vector ;
3: for each channel of GB do
4: Use (20) to obtain the capacity expression ;
5: Calculate optimal power level based on three dual vectors and one order derivative;
6: Use (22), (23), and (24) to update dual vectors;
7: Return to step 5;
8: The algorithm will be terminated until the dual vectors no longer change.
9: end for