How can i implement maximum ratio combining method(MRC)?

75 vues (au cours des 30 derniers jours)
Gn Gnk
Gn Gnk le 30 Nov 2019
Hello i want to implement maximum ratio combining . I have 2 antennas(recievers) and one transmitter .So far my code is like this :
for i=1:2
SNRdb=20;
y(i,:)=h(i,:).*s;
sw2=1/(10^(SNRdb/10));
noise(i,:)=sqrt(sw2/2).*(randn(1,N)+1i*randn(1,N)); %create noise
r(i,:)=y(i,:)+noise(i,:);
end
where s is a 4-QAM modulation and h is a complex channel h~CN(0,1). All matrices are 2x500 . I have to implement maximum ratio combining method .What am i supposed to do? is this right ?
Καταγραφή.PNG where Y suppose we have R in my code.
Any help would be valuable!

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by