Escolar Documentos
Profissional Documentos
Cultura Documentos
REPORT
(LAB
2)
Mohamad Azrul Nizar Bin Azhar (B011410039), Mohd Akmal Hakim Bin Nor Rahim
(B011410291), Mohd Hafizul Bin Che Roslan (B011410050)
azrulnizar93@gmail.com,
1.0 Abstract: In this experiment, there are two parts which Part 1 is Fourier series and Part 2 is
Fourier transform with MATLAB symbolic toolbox. The purpose of this experiment is how
to construct Fourier series using MATLAB software to show that any periodic signals can be
presented as a series functions and how to approximate periodic function using finite number
of sinusoidal function.
3.0 Scope
In those two parts of this experiment, is focused on understanding of using MATLAB software in
order to produce waveforms of each function. Student should understand and analyze each of
command of function of Fourier Series. The knowledge of Signal and System is applied.
a e
jk 0 t
a e
jk ( 2 / T ) t
ak
Question 2: For Task 2, the
ak
was changed with the given equation listed in the table, the
is
the Fourier coefficient which depending on the value of k. The shape of the graph varies
according to the value of k which is either even or odd.
The harmonic value is importance in the complex exponential Fourier series of half-rectified sine
wave, the output waveform will change as the harmonic value varies. The slope of the graph is
small and will increase as the harmonic value is increase, at maximum harmonic = 2.
ak
For task 2, the
is the Fourier coefficient which depending on the value of k, the shape of the
ak
graph varies according to the value of k which is either even or odd. The
the given formula listed. For part 2, task 1, the graph obtain is an exponential graph. Dirac.m ,
Heaviside.m , and Setcurve.m was used to fix some plotting problems in Matlab. Function u(t) is
a step function, which in Matlab is represented by Heaviside (t). For figure 3 shows a signal
which is successively closer approximation to square wave. The waveform obtained was smooth
square wave if the desired harmonic values were high enough.
The command if-else was used in order to obtain a square wave. This command limits the
continuity of a function. Square wave is a discontinuous signal to be represented by a
continuous-time Fourier series (CTFS). The harmonic value increase when the ripple is confined
ever closely in the vicinity of the discontinuity. The height of the overshoot is constant in the
limit and the signal power of the error approaches zero as harmonic value approaches infinity.