上传者: ccsss22
|
上传时间: 2021-12-27 15:16:59
|
文件大小: 2KB
|
文件类型: -
Hw = (randn(n_r, n_t, nsample) + sqrt(-1) * randn(n_r, n_t, nsample)) / sqrt(2);
for i = 1:nsample
H = R_r_sqrt * Hw(:,:,i) * R_t_sqrt;
lambda = eig(H * H');
[mu pl] = WFL(lambda, SNR);
cwf(i) = sum(log2(1 + pl .* lambda));
cep(i) = sum(log2(1 + SNR/n_t * lambda));
end
Ce = mean(