CSE 446 Fall 2018 Lab 3

October 2, 2018

1. Square wave with noise
2. ASK from input bit vector
3. FST from input bit vector

Lab 3 report

Include in the report

1. Square wave with noise
a. The code for your code.
b. The output graph.
c. Vary the noise levels (At least 4 different levels) and plot the output.
2. ASK 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=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 0 1 1 0 1 0 0 1], fc=2, fs=2
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=1
d. Explain the trend due to the change in different frequencies
3. FSK from input bit vector
a. The code for your code.
The code must take, input vector(b), sampling frequency(fs), and carrier frequency(fc), carrier separation(fcs) as input.
b. A single graph containing input binary and the modulated signal. Use subplot to add the two 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, fcs=5
b= [1 0 1 1 0 1 0 0 1], fc=5, fs=100, fcs=2
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=100, fcs=1
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=10, fcs=2
b= [1 0 1 1 0 1 0 0 1], fc=2, fs=10, fcs=3
d. Explain the trend due to the change in different frequencies

4. Your lab report should include a discussion outlining the learnings from this lab.