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.

Path Loss in Matlab???

Status
Not open for further replies.

bee

Full Member level 2
Joined
Nov 29, 2003
Messages
135
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,298
Activity points
883
path loss matlab

Hi,
I am trying to simulate SISO communication with path loss. Following are the parameters involved.

n=3.5; (path loss exponent)
GtGr = 5dBi (transmit antenna gain times receive antenna gain)
fc = 2.5Ghz; (carrier freq)
d = 50m (distance between transmitter and receiver)

As we all know the basic equation for SISO without path loss is

y(t) = h x(t) + n(t);

and Path loss is given by

PL = (d^n) * (4*pi)^2 / (GtGr * (lambda)^2 ) ;

Plz tell me how and where should I include path loss in my simulation code?


Thanks
 

sib

Junior Member level 1
Joined
Nov 15, 2010
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
Re: path loss matlab

hi friend any idea on this . please share
 
  • Like
Reactions: mohe7

    mohe7

    Points: 2
    Helpful Answer Positive Rating

bulx

Full Member level 4
Joined
Aug 7, 2004
Messages
225
Helped
47
Reputation
94
Reaction score
17
Trophy points
1,298
Activity points
1,520
include PL into h as a scalar. h' = h *PL, and use it to calculate y(t).
- b
 

sib

Junior Member level 1
Joined
Nov 15, 2010
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
hi
i am not very clear on this is h the impulse response, if it is , shouldnt there be a convolution sign between h and x(t).
 

bulx

Full Member level 4
Joined
Aug 7, 2004
Messages
225
Helped
47
Reputation
94
Reaction score
17
Trophy points
1,298
Activity points
1,520
if h is the impulse response (it is conventional to use h for impulse response), yes, it should be convolved with x(t). However, if h is in matrix form (corresponding to multiple paths), it could still be written as multiplication, which is the normal way of writing in wireless context.
- b
 

zum_85

Newbie level 3
Joined
Jan 30, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Please if any one can solve my crucial problem of introducing the path loss in the transmitted signal. I am able to find the received power by the known formula of subtracting the transmitted power with path loss. But the main problem is that to find the Bit error or symbol error rate we need to introduce path loss in the transmitted signal. The main issue is that the signal is in the vector form but path loss is a single value in dB. Now how to put the effect of path loss in the signal. I would highly appreciate for upcoming replies.
 

eng_basem

Newbie level 6
Joined
Jun 17, 2009
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,351
how to generate a rayleigh fading channel coefficient taking into consideration the change in h with distance and path loss exponent
 

robintane

Junior Member level 1
Joined
Nov 10, 2012
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
Hi

Please show me how to include path loss factor to this form : (y = h*x + n)

Thank you
 

eng_basem

Newbie level 6
Joined
Jun 17, 2009
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,351
Hi

Please show me how to include path loss factor to this form : (y = h*x + n)

Thank you

u could include the path loss in the channel coefficient h by generating a circular Gaussian distribution of zero-mean and unit variance CN(0,1) multiplied by d^(-v/2) where d is the distance between the source and the receiver and v is the path loss exponent.
 

robintane

Junior Member level 1
Joined
Nov 10, 2012
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
u could include the path loss in the channel coefficient h by generating a circular Gaussian distribution of zero-mean and unit variance CN(0,1) multiplied by d^(-v/2) where d is the distance between the source and the receiver and v is the path loss exponent.

Hi. Thank you for your reply.

With chanel Rayleigh fading and AWGN

%AWGN
n1 = 1/sqrt(2)*[randn(1,nr_data_bits) + j*randn(1,nr_data_bits)]*sigma;

%Rayleigh Channel
h1 = 1/sqrt(2)*[randn(1,nr_data_bits) + j*randn(1,nr_data_bits)];
y = h1*x + n1

How to include path loss based on distance (d) and path loss exponent (v)
 

eng_basem

Newbie level 6
Joined
Jun 17, 2009
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,351
Hi. Thank you for your reply.

With chanel Rayleigh fading and AWGN

%AWGN
n1 = 1/sqrt(2)*[randn(1,nr_data_bits) + j*randn(1,nr_data_bits)]*sigma;

%Rayleigh Channel
h1 = 1/sqrt(2)*[randn(1,nr_data_bits) + j*randn(1,nr_data_bits)];
y = h1*x + n1

How to include path loss based on distance (d) and path loss exponent (v)

Before ur last line include the following:
h1 = h1* d^(-v/2);

and complete ur code normally
y = h1*x + n1
 

robintane

Junior Member level 1
Joined
Nov 10, 2012
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
Before ur last line include the following:
h1 = h1* d^(-v/2);

and complete ur code normally
y = h1*x + n1

Thank you very much.
Could you give me the paper that delivery this form ?
 

eng_basem

Newbie level 6
Joined
Jun 17, 2009
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Egypt
Activity points
1,351
Thank you very much.
Could you give me the paper that delivery this form ?

Power Provisioning and Relay Positioning for Two-Way Relay Channel With Analog Network Coding
IEEE SIGNAL PROCESSING LETTERS, VOL. 18, NO. 9, SEPTEMBER 2011
 

robintane

Junior Member level 1
Joined
Nov 10, 2012
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,375
Power Provisioning and Relay Positioning for Two-Way Relay Channel With Analog Network Coding
IEEE SIGNAL PROCESSING LETTERS, VOL. 18, NO. 9, SEPTEMBER 2011

Thank you very much
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top