Answered step by step
Verified Expert Solution
Question
1 Approved Answer
import numpy as np import matplotlib.pyplot as plt ''' Common values for all modulation techniques ''' samp_rate = 50 # 50 samples/s baud = 1
import numpy as np import matplotlib.pyplot as plt
''' Common values for all modulation techniques ''' samp_rate = 50 # 50 samples/s baud = 1 # 1 symbol/s bitrate = 1 # 1 bits/s - 1 symbol = 1 bit
carr_freq = 2 # Hz dfreq = 1 # Hz
\#\#\#\#\# Step 2 - Modulation ] : c_samples = np.arange(len(baseband_data)) samp_rate =50 phase =0 \# Multiplexer selection to for required modulation c1 = np.sin(2*np.pi*(carr_freq+dfreq)*c_samples/samp_rate) c2 = np.sin(2*np.pi*(carr_freq-dfreq)*c_samples/samp_rate) fsk_mod = baseband_data * c1 + (-baseband_data +1)*c2 \#time = np.arange(len(message_bits)*samp_rate) ax, fig = plt.subplots(figsize=(40, 2)) plt.plot (fsk_mod) plt.plot(baseband_data) plt.title('FSK Signal') plt.grid(True, linestyle='_')
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started