Consider a periodic square wave with a fundamental period of &#119879;=4. Over the interval βˆ’2< &#119905; <2, the square

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 a periodic square wave with a fundamental period of &#119879;=4. Over the interval βˆ’2< &#119905; <2, the square

Post by answerhappygod »

Consider a periodic square wave with a fundamental period of
𝑇=4. Over the interval βˆ’2<
𝑑 <2, the square wave is described by:
π‘₯5(𝑑)={3, |𝑑|≀0.5
0, |𝑑|>0.5
a) [2 pts] what do you expect the Fourier
series coefficients to be?

b) [3 pts] Create a symbolic expression for π‘₯5(𝑑) and then input
that to the int function to
create a symbolic expression for the Fourier series
coefficients.
(Note: You will need to define two symbolic variables for
this.)

c) [5 pts] Use the subs function and your expression from part b)
to determine the Fourier
series coefficients for βˆ’100β‰€π‘˜ ≀100. Plot the resulting Fourier
series coefficients
from -20 to 20 using the stem function. (xlim may be useful
here)
(Note: You will need to calculate the π‘˜ =0 term separately to avoid
a division by zero
error for this particular function.)

d) [5 pts] Create symbolic expressions of π‘₯𝑁(𝑑) for 𝑁=1,3,9,π‘Žπ‘›π‘‘
100, and use fplot
to plot each of the functions on the same plot with π‘₯5(𝑑) for
βˆ’2≀𝑑≀2.
(Hint: The symsum function can be helpful here. Also, the hold
function will be needed
to put all the plots on the same figure.)

e) [1 pts] What are the values of π‘₯𝑁(𝑑) for 𝑁 =1,3,9,π‘Žπ‘›π‘‘ 100 at 𝑑
=Β±0.5? Does this
make sense?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply