Fourier Series of a Complex Waveform
Project 1 for Finals
Glenn Sotto Macion
BSECE – V
University of Cebu – Lapu-Lapu & Mandaue
A.C. Cortes Ave., Looc, Mandaue City
glennsottomacion@gmail.com
I. OBJECTIVE
To be able to show the graph of fourier series transform
from any desired piecewise function.
II. MATERIALS
Matlab 2017 GUI
III. DISCUSSION
Fourier series is an expansion of a periodic function in terms of
an infinite sum of sines and cosines. Fourier series make use of
the orthogonality relationships of the sine and cosine functions.
Fourier series is just a means to represent a periodic signal as
an infinite sum of sine wave components. A periodic signal is
just a signal that repeats its pattern at some period. The primary
reason that we use Fourier series is that we can better analyze a
signal in another domain rather in the original domain.
The following formula is what is used for solving the values
needed in this program:
IV. HOW TO USE
There are blank spaces provided to enter your desired
piecewise functions. There are a total of four spaces to enter
them and also two spaces per piecewise is allocated for the
lower and upper limits of the desired function. To better
understand this, take a look at the example below (figure - 1):
Figure - 1
The spaces have been filled with example piecewise
functions as shown in figure-1. There is also a space just above
the limits boxes, that is labeled “Desired ‘n’ values:”. This
space allows you to use your desired number of harmonics for
the signal you want. The more harmonics the smoother and the
better the signal would appear.
There are also A0, An, and Bn graphs for you to be able to
check the An, Bn and A0 of the functions you provided. These
three graphs are will be in another figure and will show the n=1
up to n = 8 for An, another figure for Bn n =1 up to 8 graphs
and last but not the least is the Ao graph. Figure 2-4