0% found this document useful (0 votes)
15 views4 pages

Lab 2 - Fourier Series

Uploaded by

Samz Adrian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Lab 2 - Fourier Series

Uploaded by

Samz Adrian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

FAKULTI TEKNOLOGI DAN KEJURUTERAAN

ELEKTRONIK DAN KOMPUTER


UNIVERSITI TEKNIKAL MALAYSIA MELAKA

TECHNOLOGY SYSTEM OPTIMIZATION II

BERL 3114 SEMESTER 1 SESSION 2024/2025

LAB 2: SIGNAL REPRESENTATION USING FOURIER SERIES

NAME OF GROUP
MEMBER(S) &
MATRIX NUMBER(S)

COURSE 3 BERL

DATE

MUHAMMAD FAREQ BIN IBRAHIM


NAME OF INSTRUCTOR(S)

EXAMINER’S COMMENT(S) VERIFICATION STAMP

TOTAL MARKS
1.0 OBJECTIVES

1. To show that any periodic function (or signal) can be represented as a series of
sinusoidal (or complex exponentials) function.
2. To show and to study how to approximate periodic functions using a finite number of
sinusoidal function and run the simulation using MATLAB.

2.0 EQUIPMENT

1. MATLAB® software.

3.0 SYNOPSIS & THEORY

General form of Fourier series:

+∞ +∞
jk ω 0 t
x(t )= ∑ a k e = ∑ ak e jk(2π /T )t
k=−∞ k=−∞

k = -,…, 0, …,  (or = -N,…, 0, …, N)


k= ±N, ak and a-k are both referred to as the Nth harmonic components.

Example of x(t) with highest harmonic values = 2

jω 0 t jω 0 t jω0 t jω0 t
x ( t )=a−2 e +a−1 e +a 0 + a1 e + a2 e

Page 2 of 4
4.0 PROCEDURE

1. Run all tasks using MATLAB®.

TASK 1:

1. Table 1 shows coefficients for Complex Exponential Fourier series of half-rectified


sine wave with A = 1, T = 1.

Table 1: Coefficients for Complex Exponential Fourier Series of half-rectified sine wave
For all signals below A = 1, T = 1.

{
Wave form Fourier Coefficients
Half-rectified sine wave:
A
k =0 ,±2 ,±4 ,…
π (1−k 2 )

ak= jA
∓ k =±1
4

0 others

2. Execute program in Listing 1 using 4 inputs: [2 8 20 100].


3. Observe the output changes as higher order terms are added. (Answer
question 7.0)

Listing 1:

Page 3 of 4
TASK 2:

1. Change ak (in previous Listing 1) with the formula given in the Table 2, then
run the program. Pay attention to other instructions that must also be changed.
2. Discussed your result. (Answer question 7.0)

Table 2: Coefficients for Complex Exponential Fourier Series of Several Signal


For all signals below A = 1, T = 1.

Waveform 1:

{
2A
k =even
a k = π (1−k 2 )
0 k=odd

Waveform 2:

{
4A
k=odd
ak = π2 k2
0 k=even

Fill you answer at Answer Sheet.

Page 4 of 4

You might also like