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!

Antworten (1)

Amit Kansal
Amit Kansal am 3 Sep. 2025

0 Stimmen

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

Kategorien

Gefragt:

am 30 Nov. 2019

Beantwortet:

am 3 Sep. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by