Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (20 Points) Here we will generate a sample signal, x(t). Let x(t) be composed of 3 sinusoidal signals with frequencies 10, 20, and 50
1. (20 Points) Here we will generate a sample signal, x(t). Let x(t) be composed of 3 sinusoidal signals with frequencies 10, 20, and 50 Hz. To generate xIn] in time domain, which is discrete domain in Matlab, we first need to determine the sampling time or frequency. Since the maximum freque content of x(t) is 50 Hz, our sampling frequency according to Nyquist Criterion should be at least twice of 50 Hz, or 100 Hz. To have better graphs in Matlab, we will do over-sampling and pick the sampling frequency Fs = 2000 Hz, which then make the sampling time. T -1/Fs 12000 seconds or 0.5 milliseconds. Let's pick the time duration to be 1 second. With this the x(t) signal is ncy x(t)-cos(2?10t) + cos(2r20t) + cos(2?50t) Generate and plot x[n] between (0,1000 ] milliseconds. 2. (20 Points) Now let's look the frequency domain view of the same signal, xInl. Let X(f) represent the discrete Fourier Transform of xnl. Use Matlab's fft function to perform this operation. Plot ft of x n. Comment on what you see
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