Decode and Forward or Amplify and Forward Matlab code

Status
Not open for further replies.

katvek

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
 



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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…