Waterfilling algorithm (from [Palomar and Fonollosa, trans-SP2004]) to compute:
pi = (mu*ai - bi)^+
sum(pi) = Pt
By Daniel Perez Palomar (last revision: May 10, 2004).
H. Yang, A.P. Petropulu, X. Yang and T. Camp, ?ALLIANCES with Optimal Relay Selection,"IEEE trans. on Vehicular Technology, January 2008. (MATLAB Code)
R. Lin and A.P. Petropulu, 揂 New Wireless Medium Access Protocol Based On Cooperation,擨EEE trans. on Signal Processing, vol. 53, no. 12, pp. 4675-4684, December 2005. (MATLAB code).
R. Lin and A.P. Petropulu, 揂 New Wireless Medium Access Protocol Based On Cooperation,擨EEE trans. on Signal Processing, vol. 53, no. 12, pp. 4675-4684, December 2005.