### Highlights from BER for BPSK in Rayleigh channel

3.0
3.0 | 3 ratings Rate this file 40 Downloads (last 30 days) File Size: 1.72 KB File ID: #21058 Version: 1.0

# BER for BPSK in Rayleigh channel

### Krishna Sankar M (view profile)

12 Aug 2008 (Updated )

Simulates the BER for BPSK modulation in Rayleigh channel

File Information
Description

Simple Matlab example simulating a BPSK transmission and reception in Rayleigh channel. The script performs the following

(a) Generate random binary sequence of +1’s and -1’s.

(b) Multiply the symbols with the channel and then add white Gaussian noise.

(c) At the receiver, equalize (divide) the received symbols with the known channel

(d) Perform hard decision decoding and count the bit errors

(e) Repeat for multiple values of and plot the simulation and theoretical results.

The theoretical description provided in
http://www.dsplog.com/2008/08/10/ber-bpsk-rayleigh-channel/

MATLAB release MATLAB 7 (R14)
27 May 2015 ATCHUTANANDA SURAMPUDI

### ATCHUTANANDA SURAMPUDI (view profile)

27 May 2015 ATCHUTANANDA SURAMPUDI

### ATCHUTANANDA SURAMPUDI (view profile)

21 Feb 2014 Soniya Kapur

### Soniya Kapur (view profile)

This code helped me a lot... But I want to confirm if we add some shadowing to this code, will it effect the BER Curve

Comment only
04 Dec 2011 Merlyn

### Merlyn (view profile)

Ah nevermind, the error goes to zero (off the graph)

Comment only
04 Dec 2011 Merlyn

### Merlyn (view profile)

How do you create a complete graph when using less than 10^6 transmitted bits? If I change to anything else, it truncates the graph at 1/N. I am doing this to show that when the number of bits is low the simulated and theoretical curves diverge.

Comment only
09 Jul 2011 jiang

### jiang (view profile)

i have tried to realize the simulation of qpsk with rayleigh channel by mutiplying h first,then mutiply conj(h)/abs(h) ,then hard deciding the result with a constellation abs(h) of the orignal one. but the result is not so good .can you help me explain it?

Comment only
13 Jan 2010 kirankumar palthi

### kirankumar palthi (view profile)

Hi krishna,

I gone through your code. It works. When I am encoding the tx'er bits using (convolution encoding) or Spreading or both I'm unable to get the curve same as theoretical.

Comment only
15 Aug 2008 R Random

@Pillai. I have to admit that you're right. What I forgot is the fact that the additive noise is also divided by the channel.

Comment only
15 Aug 2008 Krishna Pillai

@random: May I suggest that your observation is incorrect. Even when we know the channel, and divide the received symbol by the known channel, the resultant noise term is no longer white. Hence it is not comparable to AWGN channel. Further, in the Matlab code the BER obtained from simulations are shown to be matching the theoretically expected results.

Comment only
14 Aug 2008 R Random

Once you divide the received signal by the known channel you have removed the impact of the channel totally. In other words, it is the same as an AWGN channel, and there is no fading in the model.