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).
This chapter contains sample programs for determining capacity. The reader is advised to go through the coding. The
file "capacity_water.m" is for measuring the waterfilling capacity. It should be made to work with a file similar to
"capacity_plot_main.m". The latter file deals with all the other c ...
This function calculates the ergodic and outage capacity of a MIMO Rayleigh
channel considering no CSIT (equal power allocation) and perfect CSIT
(waterfilling power allocation). In both cases perfect CSIR is assumed. The
channel is assumed to be spatially correlated according to a Kronecker
...