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.

Decode and Forward or Amplify and Forward Matlab code

Status
Not open for further replies.

katvek

Newbie level 4
Newbie level 4
Joined
Feb 9, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
Hello,
I'm trying to perform a simulation for a cooperative network that uses amplify and forward or decode and forward protocol in MATLAB and I find it very hard to produce a MATLAB code. The network consists of a source, a relay and a destination. I'll try to produce graphs mainly for BER and outage probability, not excluding any other graphs. If someone could help me with the MATLAB code he will save me. Thanks a lot
 

Hello,
I'm trying to perform a simulation for a cooperative network that uses amplify and forward or decode and forward protocol in MATLAB and I find it very hard to produce a MATLAB code. The network consists of a source, a relay and a destination. I'll try to produce graphs mainly for BER and outage probability, not excluding any other graphs. If someone could help me with the MATLAB code he will save me. Thanks a lot


Hi

I am also looking for the sample code to plot outage probability. If you had done with it, could you mind forwarding it to me.

Saketh
 
Basically, if the underlying fading channels are Rayleigh, then SNR follows exponential distribution. That is y0, y1, and y2 are all exponentials, where y0, y1, and y2 are the instantaneous SNR of the direct path, the first hop of the relay path, and the second hop of the relay path, respectively. After generating them, calculate the equivalent SNR for AF as: y_eq=(y0+(y1y2/y1+y2+1)), then substitute this equivalent SNR in Q(sqrt(2*y_eq)) if you are using BPSK, which is usually assumed for simplicity. Repeat this several times and at the end average the BERs you got.
 
hello,
um trying to do a simulation for af multiple relays for nakagami-m fading and rayleigh fading. The network consists of a source , a destination and multiple af relays. i want to do the simulation for outage probability and SER for lower bound analysis.
Can anyone help me with the code. I have the equations
 

Post the equations
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top