Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 2 . 1 Let the signal x ( t ) = s i n ( 2 f t ) with f = 5 H
Task
Let the signal
with
Write Matlab programs.
a Sample the signal The sampling frequency is Plot the sampled signal in the
timeframe in seconds Use correct axis labels and scaling.
b Cut out a time frame from in the range Use a rectangular time window for
; elsewhere Hint: multiply the rectangular time window pointwise with the sampled
signal. Plot the result from to Use correct axis labels and scaling.
c Calculate the FFT of the cutout time frame hint: sampling points and plot it Use correct axis
labels and scaling.
d Once again cut out a time frame from in the range This time use a Hamming window.
Hint: Create a Hamming window using the corresponding Matlab function. Use the same sampling rate
that you used for sampling
e Calculate the FFT of the cutout time frame of part d Use correct axis labels and scaling.
Now please answer the next question without using Matlab
f Compare the FFTs of c and e and discuss the differences.
Submit the solutions: Matlab source code in m files no copies or scans printed plots, and written answers.
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