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

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!

Answers (1)

Please review the shipping example: Introduction to MIMO systems, that offers the maximal ratio combining as one of the MIMO schemes.
Hope this helps,
Amit

Categories

Asked:

on 30 Nov 2019

Answered:

on 3 Sep 2025

Community Treasure Hunt

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

Start Hunting!