%DATA X=(2*round(rand(Nt,1))-1); %Channel H=Cor_H(Nr,Nt,p); %Noise sig=sqrt(0.5/(10^(snr/10))); n=sig*(randn(Nr,Nt)+j*randn(Nr,Nt)); %Received Signal R=H*X+n; %Combiner s0=0; for n=1:Nr s0=con