Coded cooperation in wireless netwrok

Status
Not open for further replies.
Taksali,

First, it's true that the simulation takes a long time, so don't worry! To speed the simulation (but obtain less accurate results), you can decrease the number of blocks transmitted at each SNR level. Specifically, modify this line:
Code:
numofBlocks = [10^5 10^5 2*10^5 3*10^5 5*10^5 5*10^5];

Second, there is a line in fairul's code where it seems to be loading results of non-cooperative mode previously stored in a file. This file was not uploaded, so what we can do is to comment (or delete) the this line, which is:
Code:
load noCooperation
and of course remove any variables depending on the file (noCooperation.mat). Specifically, replace the following line:
Code:
semilogy(receivedAverageSNR_dB, ber25_perfect,'k-s', receivedAverageSNR_dB, BER_NoCoop,'b-');
with
Code:
semilogy(receivedAverageSNR_dB, ber25_perfect,'k-s');

Regards
 

Hi. I need some help. For slow fading how are the InputSamplePeriod and MaxDopplerShift? and for fast fading ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…