MIMO系统中的遍历通道容量

时间:2018-02-15 12:26:45

标签: matlab

我试图验证无线MIMO中的遍历和信道容量与接收器(即接收天线)上的K个用户数量线性增加的提议,如here所述,基于等式< / p>

C = E [log2(det(I_M + roh * H&#39; D H))]

其中

  • D =(1 / K)I_K,(I_K是维度KxK的单位矩阵)
  • roh = 10dB
  • I_M是一个单位矩阵

这是我的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)

0 个答案:

没有答案