I want to know what is the law that calculates the bit rate. I have found the code below. I hope you can explain to me the mathematical laws that have been converted to code.

3 次查看(过去 30 天)
% Analog-only beamforming
SINR_BS=(SNR*(abs(Wrf(:,u)'*Channel*Frf(:,u)).^2))/(SNR*sum((abs(Wrf(:,u)'*Channel*Frf(:,Int_set)).^2))+1);
Rate_BS(count)=Rate_BS(count)+log2(1+SINR_BS)/(Num_users*ITER);
end
% Hybrid Precoding
Rate_HP(count)=Rate_HP(count)+log2(det(eye(Num_users)+SNR*(He*(Fbb*Fbb')*He')))/(Num_users*ITER);
% Hybrid Precoding MMSE
Rate_HP_MSE(count)=Rate_HP_MSE(count)+log2(det(eye(Num_users)+SNR*(He*(FbbMSE*FbbMSE')*He')))/(Num_users*ITER);
% Hybrid Precoding Kalman
Rate_HP_Kalman(count)=Rate_HP_Kalman(count)+log2(det(eye(Num_users)+SNR*(He*(Fbbk*Fbbk')*He')))/(Num_users*ITER);
% ZF fully digital precoding
Rate_HP_FD_ZF(count)=Rate_HP_FD_ZF(count)+log2(det(eye(Num_users)+SNR*(He_fd*(Ffd*Ffd')*He_fd')))/(Num_users*ITER);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by