Question: Please use matlab to code. Will rate please do original Let g(t) be a pulse train of amplitude A and period To seconds, where the
Please use matlab to code. Will rate please do original
Let g(t) be a pulse train of amplitude A and period To seconds, where the pulse is on (not zero) only for Consider that g(t) is a unit amplitude train of rectangular pulses of duration = 2 seconds and with period To = 4 seconds, where t ranges from t =-5 to t = 4.99 (seconds) with increments of 0.01. Create an M-file to (a) Create an approximate g(t) using its Fourier Series with N = 10 terms. Plot the approximation of the Fourier Series (b) Repeat question (a) for N = 3, and N = 50, Plot the approximations and comment the results. Comment also about the oscillatory behavior around the discontinuities of the approximated signa (c) Plot the discrete spectrum of the signal given by an for n = [-20, 20] Use the command stem instead of plot. Type help stem for more information. Comment the figure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
