Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Spring 2024 - EE3082 Week 2 –Section 2 Lab. Assignment.

Name and Lastname:

Student ID:

Signature:

Quiz Q1 (35 pts) Q2 (35 pts)


30 pts a b c d e a b
(7) (7) (7) (7) (7) (15) (20)

Figure 2 - Periodic Sawtooth Signal

Submission Procedure: Prepare a report as a .docx file, send your report a) (15 pts) Plot the first five and first 10 harmonics of x(t) as
(.docx) and .m files in one single .zip file with the filename, a function of the frequency.
“Name_Lastname_EE3082_Section2_WeekX.zip”. b) (20 pts) Plot the first harmonic approximation of x(t), first
3 harmonics approximation of x(t), and first 5 harmonics
Submit your assignment to Google Classroom. approximation of x(t), and the original signal on top of
each other and comment on your results.
Submissions without the code or the report will be dismissed.

1) (35 pts) Using Matlab, find the Exponential Fourier Series


coefficients of the square signal x(t) shown in Fig. 1.

Figure 1 – Periodic Square Signal

a) (7 pts) Plot the first five and first 10 harmonics of x(t) as a


function of the frequency.
b) (7 pts) Plot the first harmonic approximation of x(t) and
the original signal on top of each other and comment on
your results.
c) (7 pts) Plot the first 3 harmonics approximation of x(t) and
the original signal on top of each other and comment on
your results.
d) (7 pts) Plot the first 10 harmonics approximation of x(t)
and the original signal on top of each other and comment
on your results.
e) (7 pts) What happens when you change the fundamental
frequency to 0.5 Hz? Comment on your results.

2) (35 pts) Using Matlab, find the Exponential Fourier Series


coefficients of the sawtooth signal y(t) shown in Fig. 2.

You might also like