gusucode.com > ​多天线系统的各种信号检测算法matlab源码程序 > MIMO_detection/MMSE_detection.m

    function [MMSE_det_bit]=MMSE_detection(y,H,Tx,Modu_bit,SNR)

%SNR=10^(SNR/10);
sigma = 1/sqrt(2*Tx*SNR);
%sigma = 1/SNR;
MMSE_filter=inv(H'*H+sigma.^2*eye(Tx))*H'; 
z=MMSE_filter*y;

MMSE_det_bit=zeros(Tx,Modu_bit);

for tx=1:Tx
    MMSE_det_bit(tx,:)=component_wise(z(tx,1),Modu_bit); 
end

return;