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.)
Consider the signal 𝑥3[𝑛]={1, 0β€𝑛β€6 0, 7β€𝑛
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the signal 𝑥3[𝑛]={1, 0β€𝑛β€6 0, 7β€𝑛
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!