Question
Problem 3: Consider the function g ( x ) = sin(20 ?x ) + 10 cos(3 ?x ), 0 ? x ?. Using the Matlab
Problem 3:
Consider the function g(x) = sin(20?x) + 10 cos(3?x), 0 ? x ?. Using the Matlab function fft, construct the discrete Fourier transform of g(x) and then plot its frequency spectrum. Use logarithmic scaling for the vertical axis. Assume that the interval [0, 2?] is discretized with 200 points. Use your First Name, Last Name, and Student Number as the title for the graph (e.g., 'Johnny Good, 1234567'). Then save the graph as a Portable Network Graphics (.png) file, and upload it.
Please note: I will not be able to check if my answer is correct until after the deadline so please only submit an answer if you are confident in it. |
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