BPSK Simulation for AWGN & Rayleigh Channels

The MATLAB programs simulate the BPSK receiver.
31K Downloads
Updated 4 Apr 2016

View License

BPSK SYSTEM SIMULATION
We simulate the generation of random variables r0 and r1, which constitutes the input to detector. We begin by generating a binary sequence of 0?s and 1?s that occur with equal probability and are mutually (statistically) independent. For this, we use a Random number generator that generates a uniform random number between 0 and 1. If the number generated is in range (0, 0.5), the binary source output is 0 else it is 1. if 0 is generated, then r0=E+n0 and r1=n1. if a 1 is generated r0=n0 and r1=E+n1.
The additive noise components n0 and n1 are generated by mean of two gaussian noise generators there means are zero and there variances, ó2 = E*N0/2. For convenience we take E=1(normalized value) and vary ó2 . The SNR (E/N0) is then equal to 1/2ó2. The detector output is compared with the binary transmitted sequence and an error counter is used to count the number of bit errors.

Cite As

Rajdeep Khullar (2024). BPSK Simulation for AWGN & Rayleigh Channels (https://www.mathworks.com/matlabcentral/fileexchange/3838-bpsk-simulation-for-awgn-rayleigh-channels), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

BSD Lisence
BSD Lisence
JUST TO PROVIDE DETAILS