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.

Rayleigh Fading Channl

Status
Not open for further replies.

jilly0124

Newbie level 5
Joined
Dec 2, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,337
Hi all,

I have got a Rayleigh Fading Channel Simulation code by Matlab but its performance about resulting BER is not right.

The code list below:

N=length(spread_sig);
n = sigmaN*(randn(1,N)+1j*randn(1,N))/sqrt(2); % white gaussian noise, 0dB variance
h = 1/sqrt(2)*(randn(1,N) + 1j*randn(1,N));
% Rayleigh channel,the range of h submit to the Rayleigh distribution

% Channel and noise Noise addition
ch_spread_sig = h.*spread_sig + n;

where sigmaN=sqrt(N/EB_NO)

How to modify it?

Best regards
 

use rayleighchan() MATLAB function directly.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top