# CSE 446 Fall 2018 Lab 4

October 9, 2018

1. BPSK
2. QPSK

Lab 4 report

Include in the report

1. BPSK from input bit vector
a. The code for your code.
The code must take, input vector(b), sampling frequency(fs), and carrier frequency(fc) as input.
b. A single graph containing input binary, carrier signal, and the modulated signal. Use subplot to add the three graph in a single window.
c. Repeat step a-b for the following combinations
b= [1 0 1 1 0 1 0 0 1], fc=5, fs=100
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=10
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=5
b= [1 1 0 0 0 1 1 0 1 1 0], fc=5, fs=100
b= [1 1 0 0 0 1 1 0 1 1 0], fc=2, fs=10
b= [1 1 0 0 0 1 1 0 1 1 0], fc=2, fs=5
d. Explain the trend due to the change in different frequencies
2. QPSK from input bit vector
a. The code for your code.
The code must take, input vector(b), sampling frequency(fs), and carrier frequency(fc) as input.
b. A single graph containing input binary, carrier signal, and the modulated signal. Use subplot to add the three graph in a single window.
c. Repeat step a-b for the following combinations
b= [1 0 1 1 0 1 0 0 1], fc=10, fs=100
b= [1 0 1 1 0 1 0 0 1], fc=5, fs=100
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=10
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=5
b= [1 1 0 0 0 1 1 0 1 1 0], fc=10, fs=100
b= [1 1 0 0 0 1 1 0 1 1 0], fc=5, fs=100
b= [1 1 0 0 0 1 1 0 1 1 0], fc=2, fs=10
b= [1 1 0 0 0 1 1 0 1 1 0], fc=2, fs=5
d. Explain the trend due to the change in different frequencies
3. Your lab report should include a discussion outlining the learnings from this lab.