Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

amplification factor of Amplify and forward protocol

Status
Not open for further replies.

hmayna

Newbie level 6
Newbie level 6
Joined
Sep 17, 2016
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
94
Hi all,

in AF protocol the relay multiply the received signal from the source by an amplification factor

β=sqrt(P/(N0+P|hsr|²)

where P is the transmitted power,hsr is the channel 's vector between source and relay,

my question is about how to calculate |hsr|² if we have hsr=randn(1,N)+j*randn(1,N) i other way hsrr is a N complex number.
 

In MATLAB you can write

Code:
abs(hsr)^2
 
  • Like
Reactions: hmayna

    hmayna

    Points: 2
    Helpful Answer Positive Rating
I forgot to mention that because hsr is a vector you need to use abs(hsr).^2 (with . preceding ^).
 
  • Like
Reactions: hmayna

    hmayna

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top