我试图验证无线MIMO中的遍历和信道容量与接收器(即接收天线)上的K个用户数量线性增加的提议,如here所述,基于等式< / p>
C = E [log2(det(I_M + roh * H&#39; D H))]
其中
这是我的MATLAB代码,但没有得到所需的情节。
clear; close all; clc;
n_iter = 1000; %% NUMBER OF ITERATIONS
roh = 10^(10/10); %% TRANSMITER POWER
K = 1:20; % NUMBER OF USERS
M = 20; % NUMBER OF ANTENNNA
for ii = 1: n_iter
for kk = 2 : length(K)
I_M = eye(min(kk,M));
H = 1/sqrt(2) * (randn(kk, M) + 1i * randn(kk, M)); %% RANDOM CHANNEL
if kk >= M
HH = H' * H;
else
HH = H * H';
end
end
C(:,kk) = zeros(1, kk);
for jj = 2 : length(K)
C(:, jj) = C(:, jj) + log2(real(det((I_M + roh * HH/jj)))); %% CHANNEL CAPACITY
end
end
C_avr = sum(C, 1)/n_iter;
plot(1:length(K), C_avr)