Consider the signal 𝑥3[𝑛]={1, 0≀𝑛≀6 0, 7≀&#119899

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Consider the signal 𝑥3[𝑛]={1, 0≀𝑛≀6 0, 7≀&#119899

Post by answerhappygod »

Consider the signal π‘₯3[𝑛]={1, 0≀𝑛≀6


0, 7≀𝑛≀31 ,
which has a fundamental period of 𝑁=32.
using matlab
a) [2 pts] Plot two periods of the signal π‘₯3[𝑛].
(Note: We will want an array with just one period for later parts.
Define an array with one
period and then define a new array that is several of the original
arrays concatenated, i.e.,
b_plot = [b, b])

b) [4 pts] Calculate one period of the Fourier series coefficients
using fft. Create plots of
the real and imaginary parts of the Fourier series coefficients
over two periods.

c) [3 pts] How can we relate this signal to the general square wave
form

d) [6 pts] Use the Fourier series coefficients found in part b) to
evaluate the following
partial sum approximations of π‘₯3[𝑛]:

π‘₯3_5[𝑛]=βˆ‘π‘Žπ‘˜π‘’π‘—π‘˜(2πœ‹
32)𝑛
2
βˆ’2


π‘₯3_17[𝑛]=βˆ‘π‘Žπ‘˜π‘’π‘—π‘˜(2πœ‹
32)𝑛
8
βˆ’8


π‘₯3_32[𝑛]=βˆ‘π‘Žπ‘˜π‘’π‘—π‘˜(2πœ‹
32)𝑛
16
βˆ’15


Create a separate plot for each of the three approximations. (Each
one showing two
periods.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply