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

    function [ZF_det_bit]=ZF_detection(y,H,Tx,Modu_bit)

ZF_filter=inv(H'*H)*H'; %get the inverse matrix(逆矩阵)
z=ZF_filter*y;

ZF_det_bit=zeros(Tx,Modu_bit);
frame_length=length(y');
for tx=1:Tx
%     for index=1:frame_length
%     ZF_det_bit(tx,:)=component_wise(z(tx,:),Modu_bit)
    return;
%     end
end

return;