This repository is going to simulate SISO OFDM with BPSK demodulation by using the example code on WARPLab wl_example_siso_ofdm_txrx.m
NOTCIE: This repository is the assignment in NCTU course "Wireless Communication Systems 2018". If you are taking this course, please do not duplicate from this repository. All rights reserved.
The sample code wl_example_siso_ofdm_txrx.m follows the following steps.
- Generate OFDM transmit samples
- Send samples via WARP or Simulation transmission
- Decode the received samples
- Calculate SNR/channels and plot
In the part of signal generation,
- Generate preambles
- Generate digital bits
- Modulate digital bits to frequency-domain samples
- Add pilot samples
- Convert frequency sample to time samples via FFT
- Insert CP (Cyclic Prefix)
- Reshape symbols to 1D samples
In the part of decoding,
- Packet detection
- CFO correction (useless in simulation)
- Channel estimation
- Remove CP (Cyclic Prefix)
- Convert time samples to frequency samples via FFT
- Decode frequency samples
- SFO correction
- Partition the example code to
signal_gen.manddecode.msignal_gen.m- Signal generator and transmissions
- Output transmitted digital bits to
tx_data.bin - Output transmitted frequency-domain samples to
tx_syms_mat.bin - Output received time-domain samples to
rx_vec_air.bin
decode.m- Load
tx_data.bin,tx_syms_mat.bin, andrx_vec_air.bin - Decode the signal and calculate BER/SNR
- Plot the results
- Load
- Simulation channels with different SNR values
- Modify the modulation to BPSK
- Currently, modulation 16-QAM is used
- Change it to BPSK
- Decode the received signals
- Simulated SNR: 5, 10, 15, 20 and 25 (dB)
- Generate received signal with noise
- Calculate the actual SNR
- Calculate decoded SNR and BER
- Plot the mean SNR value
- Plot SNR and BER
- Plot figures in the example code
- Plot other figures in the example code
NOTICE: Make sure you have already installed MATLAB on your machine
- Open your MATLAB IDE and run
simulation.m(take few minutes) - If succeed, you will get some figures as follow:
NOTICE: You can follow the contributing process CONTRIBUTING.md to join me. I am very welcome any issue!
NOTCIE: This repository is the assignment in NCTU course "Wireless Communication Systems 2018". If you are taking this course, please do not duplicate from this repository. All rights reserved.







