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.

ds-cdma simulation model in matlab

Status
Not open for further replies.

urwelcome

Banned
Joined
Apr 12, 2007
Messages
83
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,288
Activity points
0
Rayleigh fading

I have seen the formula to generate rayleigh distribution as:

h_block=randn(512,1)+j*randn(512,1)*pathloss

than

h=reshape(h_block,1,512)

could you please explain it,how is this rayleigh ??

Thank you very much.
 

Re: Rayleigh fading

it looks to me some short of function in 'C' programming. Please look in to your code to find where it is related.
 

    urwelcome

    Points: 2
    Helpful Answer Positive Rating
Re: Rayleigh fading

This is matlab program

"h_block" gives a complex matrix of order 512 by 1

"h" just reshape it into a matrix of order 1 by 512

I want to ask is this is the correct way to define rayleigh channel

by the pathloss is defined to be 1,one.
 

Re: Rayleigh fading

Hi,
Are you sampling the data over certain time frame?

Rayleigh approximation is generally used to approximate channel fading where there are too many objects and there is no line of sight between transmitter and receiver. So, you may sample the data over 1 sec of time period. I think you can give any number of large matrix. More data, better you will get approximation. If you have some reference paper or some more detailed statements please provide me. I am happy to help you out more and have more detail discussion.
 

    urwelcome

    Points: 2
    Helpful Answer Positive Rating
Re: Rayleigh fading

Can u tell me the all of the ways to generate rayleigh channel effect
like adding two Gaussian random variables

randn(512,1)+j*randn(512,1)*pathloss

and so forth
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top