Introduction - If you have any usage issues, please Google them yourself
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).
Packet : 111186769waterfilling.algorithm.rar filelist
Waterfilling Algorithm.m