BPSK Simulation for AWGN & Rayleigh Channels (Scripts) Publisher's description
from Rajdeep Khullar
We simulate the generation of random variables r0 and r1, which constitutes the input to detector.
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.
System Requirements:MATLAB 6.1 (R12.1)
Program Release Status: New Release
Program Install Support: Install and Uninstall