Skip to content

nancyradadia/QPSK-modulation-demodulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

QPSK-modulation-demodulation

Python script for QPSK modulation and demodulation

It first generates 16 bits binary signal then perform modulation, add noise and demodulate the signal. Since, we add some noise after modulation, demodulated signal obtained does not exactly matches with the original signal.

How to use ?

To plot the graphs we use matplotlib and to store the data (which we want to plot) we use numpy, hence you need to install the following:

pip install matplotlib
pip install numpy

To run the code:

python QPSK_modulation_demodulation.py

Output

The output generated is in the form of graph. There are total 6 graphs generated:

  1. Carrier wave (sine wave)
  2. Carrier wave (cosine wave)
  3. Original signal (16 bits)
  4. Modulated wave
  5. Noise
  6. Demodulated wave (16 bits)

Here, the original signal and demodulated signal will not be exact beacause of noise. For example:

comparison

Author

About

Python script for QPSK modulation and demodulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages