通信基础-Digital and Analog Modulation with Polar Code and Frequency hopping
All Code can be found in Github
Digital Modulations and Analog Modulations including 2FSK\4QAM\4PSK\2ASK and AM.
There are Polar code and frequency hopping in Digital Modulation.
Especially, due to the imperfect character of digital filter, the simulation of 2FSK does not match the theoretical values. The difference will vanish with the decreased number of frequencies selected in frequency hopping.
Digital Modulations
QPSK

2ASK

2FSK

==(No longer envelope detection)==
1 | |
4QAM
Analog Modulations
AM

Refer to《通信原理》-第七版(樊昌信)Page 87
It should satisfy \(|m_t|_{max}\leq A_0\) and then we can use envelope detection
DSB

SSB
Refer to



FM
Notes
Sampling a stream of data with a small sampling rate will fold the signal, which means: \[ f_\text{target}=\left\{f_{\text{original}}/f_s\times2-\text{floor}(f_{\text{original}}/f_s\times2)\right\}\times f_s. \] .But in 2FSK, we found that:
- If \(f_{\text{original}}/f_s\) is even, it holds,
- If \(f_{\text{original}}/f_s\) is odd, it should be \(f_{t}=0.5\times f_s-f_{\text{target}}\)
We use digital filter in matlab and there will be a time delay. It can be calculated as:
1 | |
Conversion between EbN0 and SNR:
1 | |