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.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top