📄 描述.txt
字号:
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, ? = E*N0/2. For convenience we take E=1(normalized value) and vary ? . The SNR (E/N0) is then equal to 1/2?. The detector output is compared with the binary transmitted sequence and an error counter is used to count the number of bit errors.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -