Signal System: SKEE2073-10
Signal System: SKEE2073-10
Signal System: SKEE2073-10
SKEE2073-10
MATLAB REPORT
GROUP MEMBERS
NIK AHMAD FAISAL BIN MOHD KAMAROLZAMAN
B14KE0038
B14KE0052
B14KE0035
Lecturer
DR MUHAMMAD RAMLEE KAMARUDIN
Introduction
From what we have learnt in Signal and System class, wave-like periodic signal for example
square waves actually is a sum of a lot sinusoidal graph that makes up in the end to behave a
desired shaped wave. In this report, we will discuss on how square waves make up a lot of
sinusoidal wave with certain equation. We called this as Fourier Series. Fourier Series has two
types, it is fourier series trigonometric and complex exponential fourier series form.
Objective
MATLAB is a software package for carrying out numerical computations and analyses. It
uses blocks of data called matrices (MATLAB stands for matrix laboratory). MATLAB is
probably the most commonly used scientific and engineering numerical software. (Other
software commonly used are PV-WAVE for processing seismograms and EDL for
processing satellite data. They are all converging and looking like each other at the front end
even if underneath they work on different principles.)
The objectives of doing this mat lab assignments are, firstly, is to train and expose
students to use MATLAB to plot results. It is an easy to use high-level language for solving
engineering and mathematical problems. It has become a popular tool of choice for research
and development in the industry. Our second objective is to evaluate the response of a linear
time invariant system due to signal operations. This is to enhance our knowledge about the
system and to gain better understanding about signal operations. Also give student a chance on
practicality of what they have learnt in class. Last but not least, the objective of this assignment
is to establish good report and to train student to work efficiently in groups. Since teamwork is
very important in a real working life, this mat lab assignment help improve our teamwork skills.
The end of this assignment, student shoulde be able : Student should be able to access MATLAB
Student able to use the MATLAB help facility, do simple (but large) calculations and
print out graphs.
Student able to do the full report of their work.
Methodology
4 Questions were given to be calculated and the process need to involve the answers with
Matlab analysis on wave plotted. What we have learn before by using equation below we could
identify the shape of the graph.
is zero
if v(1) has cosine-like symmetry along the time axis about t=0. In other words for t
and t of time magnitude is the same. This is true for question 4 based on observation.
if v(t) has sine-like odd symmetry along the time axis about t=0. In other words it has
same magnitude but but opposite sign at t and t. This is true for question 1,2, and 3.
Based on calculation of
,and
representation of equation.
Flow chart
Question 1
General equation :
( )
( )
( )
( )
%period
%angular frequency
%amplitude
bn = (2/T)*(Z*int(sin(n*w0*t),t,0,1))+...
(2/T)*(-Z*int(sin(n*w0*t),t,1,2)) ;
t=-4:0.01:4;
%time scale
vt=(a0/2)+symsum(an*cos(n*w0*t)+bn*sin(n*w0*t),n,1,5);
%harmonic
plot(t,vt);
grid on;
ylabel ( 'v(t)' );
xlabel( 't(s)' );
title('The trigonometric Fourier Series');
Graph plotted :
%FS of vt up to 5th
Discussion
As the theory of fourier series the graph show an an odd signal this is because of th value of is
. As practically, after design at a software matlab it also the same graph. Meaning that,
theory of fourier series and symmetry properties of FSis acceptable. The result shown the
ouput signal is not exactly same because there no filter is applied in the design, so the result is
not smoothly.
Question 2
General equation :
( )
( )
( )
( )
plot(t,vt);
grid on;
ylabel ( 'v(t)[mv]' );
xlabel( 't[s]' );
title('The trigonometric Fourier Series');
Graph plotted :
10
Question 3
General equation :
( )
( )
( )
( )
11
plot(t,vt);
grid on;
ylabel ( 'v(t)[v]' );
xlabel( 't[s]' );
title('The trigonometric Fourier Series');
Graph plotted :
12
Question 4
General equation :
( )
( )
( )
( )
13
plot(t,vt);
grid on;
ylabel ( 'v(t)[v]' );
xlabel( 't[s]' );
title('The trigonometric Fourier Series');
Graph plotted :
14
Conclusion
As we all learnt in Signal and System class.We are capable of involve in a little part of
application of the subject. Using Matlab, we are once step further of applying our knowledge in
real world. Fourier Series is basic of representing basic periodic signal which it is important for
us to understand thoroughly.
Matlab is essential for signal analysis if we were ever involve in communication system
analysis. By being knowledgeable of basic Matlab and Signal and System should help us to
apprehend the knowledge for next semester subjects which is Electromagnetic Magnetic
Theory.
15