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 model but temporally uncorrelated.