Question
use MATLAB for the following part: 1) Generate a sine wave x(t) with f = 100Hz with a sampling frequency fs1 = 300kHz in Matlab,
use MATLAB for the following part:
1) Generate a sine wave x(t) with f = 100Hz with a sampling frequency fs1 = 300kHz in Matlab, plot the signal in both time domain and frequency domain with proper time and frequency axis
Now we will sample the original sine wave and then recover the signal using sampling technique.
2) Sample the previously generated signal using impulse-Train Sampling with a sampling frequency of fs2 = 3kHz. [Notes: You can use upsample()/ downsample() commands to put/remove zeros while creating pulse train and sampled signal if necessary.]
3) Plot the sampled signal in time (use stem () matlab command to plot in discrete form) and its Fourier Transform (use plot()).
4) Using zero order hold(ZOH) , reproduce the signal and plot it in time (use plot () since it is now recovered, not sampled signal anymore) and frequency domain. [Note: Here the rectangular h0(t) system has the length T = fs1/fs2 ]
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