It’s the first post of my digital communication fundamental series. I have started reading a book called “SDR 4 Engineers, Travis F” as the first step of my thesis. Actually, students can access the original codes shared in the book via GitHub repo. Here my purpose is just chunking the whole chapter into small pieces and reinforce my knowledge/experiment that new for me. I will be trying to share something here as soon as I have enough time.

The first example is about modulation basics, there will be a MATLAB code showing modulation types for digital communication.  Let’s look at the explanation of theory;

Communication systems convey information by manipulating the physical properties of an electromagnetic signal before it is broadcasted across a medium. Signal properties such as the amplitude, phase, and/or frequency are manipulated over time in such a manner that the receiver can interpret the message being conveyed by the transmitter. These electromagnetic broadcasts often use sine wave signals, which makes them relatively straightforward to manipulate for the purposes of conveying information.

In the MATLAB script below, we generate three sine wave-based transmissions, where information is embedded in them via their amplitude levels (amplitude shift keying), phase characteristics (phase shift keying), or frequency values (frequency shift keying).

Here are some outputs from the code:

Here is the code:

GitHub