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.

matlab code for multi-relay cooperative communication system

Status
Not open for further replies.

Sahabul Alam

Newbie level 1
Newbie level 1
Joined
Apr 3, 2009
Messages
1
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,293
matlab code relay

Hi, I am working on cooperative communication system. Anybody send me the matlab codes for: * Generation of unifrom node distribution according to homogeneous PPP, *select any random node as relay from these nodes, *select the nearest node as relay, and *finally derive the outage probability for the end to end system.

Thanks in advance.
 
matlab cooperative communication

HI dear,

Can you please help me for a two-hop system simulation? i want to simulate the problem of two hop system and then ber vs snr plot. reply plz

Added after 45 minutes:

please email me, i am also new in this field and want to discuss some problems with you. thanks

assad.abbasi@yahoo.com
 
Re: matlab code for multi-relay cooperative communication sy

hi guys is there any matlab code for multi relay networks ?

I have one to one relay to work...

now what do i need to do 2 make it multi relay ?
 
Re: matlab code for multi-relay cooperative communication sy

hi guys is there any matlab code for multi relay networks ?

I have one to one relay to work...

now what do i need to do 2 make it multi relay ?

I need these program if anyone can help

thanks

---------- Post added at 20:04 ---------- Previous post was at 19:59 ----------

Hi again

this is matlab code for % Simulation 1: To demonstrate the effects of usingcover direct line of sight method on the transmission power required to provide a receiving power level of -30 dBm at the mobile station.
% function power
close all;
% Part 1: No-Relay Transmitted power
Pr = 10^-3; % Rx. power requirement of the M.S
dt = 2000; % Fixed distance from B.S to M.S
y=4; % Pathloss exponent in urban areas
Ptbm = Pr*(dt^y); % Calculate power transmitted in No relay system
PtbmdB = pow2dB(Ptbm) % Convert Milli Watts into dB
norelay=PtbmdB;
contnplot=0:1:2000; % For continuous graph
% Part 2: Relay Transmitted Power (Two-hop transmission)
dr = 0:50:2000 % distance at which RS is placed between BS & MS
for count1=1:41 % To calculate multiple values of Tx. Power
Ptb(count1)= (Pr*((dr(count1))^y)); % Calc. Tx Pwr from BS to RS
Ptr(count1)= (Pr*((dt-dr(count1))^y)); % Calc. Tx Pwr from RS to MS
Ptm(count1)=Ptb(count1)+ Ptr(count1); % Calc. total Tx Pwr
PtmdB(count1)= pow2dB(Ptm(count1)) % Convert Milli Watts into dB
Ptmin=min(PtmdB) % Find the minimum Tx. pwr
% find the distance at which minimum Tx. Pwr is achieved
if PtmdB(count1)== Ptmin
dmin = dr(count1);
end
end
% Part 3: Plot the graph
figure,
hold on % To plot the graph at the same plot
xlabel('Distance');
ylabel('Tx Power in dBm');
title('Tx. Power v/s distance')
xlim([0 2000]);
ylim([80 110]);
p1=plot(dr,PtmdB,'ro-'); % Plot the graph for Tx. Pwr in No Relay
p2=plot(contnplot,norelay); % Plot the graph for Tx. Pwr in Relay Tx.
p3=plot(dmin,Ptmin,'*'); % To plot the Min. Tx. Pwr in Relay Tx.
legend('Simple Relay', 'No Relay' , 'Optimum Power level');
hold off;


I hope it is helpful to all
 
Hi, I am working on cooperative communication system. Anybody send me the matlab codes for: BER and outage probability for incremental relaying of Amplify-and-forward cooperative protocol, over Rayleigh fading channels.
Please email me: buiduy90@gmail.com
Thanks in advance.
P/S: Like in the paper "Performance Analysis of Incremental Relaying Cooperative Diversity Networks over Rayleigh Fading Channels".
 

Attachments

  • 04489267 (Incremental Relaying).pdf
    241.7 KB · Views: 226

Re: matlab code for multi-relay cooperative communication sy

hi guys is there any matlab code for multi relay networks ?

I have one to one relay to work...

now what do i need to do 2 make it multi relay ?

hello sir,
I want that one to one relay matlab code so please mail me sir and here is my mail id venkatasiva411@gmail.com thankQ in advance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top