M = 2;
N = 1;
K = 2;

P = 10;

% Channel
% (Note: H(:,:,k) represents uplink channel of kth user
H = 1/sqrt(2) * (randn(M,N,K) + i*randn(M,N,K));

% Calculate the symmetric capacity
capacity = symcap(H,P,50)
