146 views

Uploaded by Nik Ahmad Faisal

UTM Signal & System

- Msg 00305
- MatLAB
- Signal and System Labs
- ice.pdf
- Tpde Rejinpaul.com Question Bank
- CV. Zeeshan
- Engineering Vol 69 1900-04-20
- DSP-1 (Intro)
- Oltc Position Indicators
- manualv2
- ELE 374 Lab Report
- FANUC AC Spindle Motor Alpha I & Beta I Series B65280EN08
- CS331 Digital Signal Processing Apr May 2008
- Unit 7 FourierSeries
- TI fourier readme
- 81AA03-ER1210
- The Influence of Cracks in Rotating Shafts
- 4.78 S.E. IT
- Teori 3D Inv
- H-CTFTDerivations

You are on page 1of 15

SKEE2073-10

MATLAB REPORT

GROUP MEMBERS

NIK AHMAD FAISAL BIN MOHD KAMAROLZAMAN

B14KE0038

B14KE0052

B14KE00**

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.

its frequency components(spectrum.) For example, the representation of musical sounds as

sums of waves of various frequencies is an audible example. Mostly in electrical engineering,

we will focus on electrical signal in term of communication.

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.

for question 1, 3 and 4

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

software with the manual calculation

5

Question 1

General equation :

( )

( )

( )

( )

syms t n;

T=2;

w0=pi;

%2*pi/T

a0 = (2/T)*(int(0.02,t,0,1))+...

(2/T)*(int(-0.02,t,1,2));

Z = 0.02;

an = (2/T)*(Z*int(cos(n*w0*t),t,0,1))+...

(2/T)*(-Z*int(cos(n*w0*t),t,1,2));

%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

%grid on

%y-axis label

%x-axis label

%graph title

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 :

( )

( )

( )

( )

syms t n;

T=2;

w0=pi;

a0 = (2/T)*(int(0.04,t,0,1));

Z = 0.04;

an = (2/T)*(Z*int(cos(n*w0*t),t,0,1));

bn = (2/T)*(Z*int(sin(n*w0*t),t,0,1));

t=-4:0.01:4;

vt=(a0/2)+symsum(an*cos(n*w0*t)+bn*sin(n*w0*t),n,1,5);

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

syms t n;

T=4;

w0=1.5707; %2*pi/T

Z = 0.02;

a0 = (2/T)*(int(Z,t,0,1))+...

(2/T)*(int(-Z,t,2,3));

an = (2/T)*(Z*int(cos(n*w0*t),t,0,1))+...

(2/T)*(-Z*int(cos(n*w0*t),t,2,3));

bn = (2/T)*(Z*int(sin(n*w0*t),t,0,1))+...

(2/T)*(-Z*int(sin(n*w0*t),t,2,3)) ;

t=-4:0.02:4;

vt=(a0/2)+symsum(an*cos(n*w0*t)+bn*sin(n*w0*t),n,1,5);

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

syms t n;

T=2;

w0=pi; %2*pi/T

Z = 0.02;

a0 = (2/T)*(int(Z,t,-0.5,0.5))+...

(2/T)*(int(-Z,t,0.5,1.5));

an = (2/T)*(Z*int(cos(n*w0*t),t,-0.5,0.5))+...

(2/T)*(-Z*int(cos(n*w0*t),t,0.5,1.5));

bn = (2/T)*(Z*int(sin(n*w0*t),t,-0.5,0.5))+...

(2/T)*(-Z*int(sin(n*w0*t),t,0.5,1.5)) ;

t=-4:0.02:4;

vt=(a0/2)+symsum(an*cos(n*w0*t)+bn*sin(n*w0*t),n,1,5);

plot(t,vt);

grid on;

ylabel ( 'v(t)[v]' );

xlabel( 't[s]' );

title('The trigonometric Fourier Series');

Graph plotted :

14

15

- Msg 00305Uploaded byNazeeh Abdulrhman Albokary
- MatLABUploaded byMuhammad Zul Hilmie
- Signal and System LabsUploaded byAbdur Rahman
- ice.pdfUploaded byAnirudhan Guru
- Tpde Rejinpaul.com Question BankUploaded byTrigger Dinesh
- CV. ZeeshanUploaded byzeenveen
- Engineering Vol 69 1900-04-20Uploaded byian_new
- DSP-1 (Intro)Uploaded bySakib_SL
- Oltc Position IndicatorsUploaded byveeakumar
- manualv2Uploaded byHenry Hurtado
- ELE 374 Lab ReportUploaded byec09364
- FANUC AC Spindle Motor Alpha I & Beta I Series B65280EN08Uploaded byadeiv20027197
- CS331 Digital Signal Processing Apr May 2008Uploaded byCharlie Dhanaraj
- Unit 7 FourierSeriesUploaded byNimmagadda Bharath
- TI fourier readmeUploaded bylimegut
- 81AA03-ER1210Uploaded byMahesh Kumbhar
- The Influence of Cracks in Rotating ShaftsUploaded byJoel Morales Perez
- 4.78 S.E. ITUploaded byOmkar Sarang
- Teori 3D InvUploaded byHumbang Purba
- H-CTFTDerivationsUploaded byragh1291
- Design of Digital Autopilot for Lateral Motion Control of an Aircraft Based on l1-Optimization ApproachUploaded byAnonymous 7VPPkWS8O
- Sp2014 Ece TtUploaded byAsif Khan
- Tablas de transformadas integrales.pdfUploaded byAnni bann
- Signal 2016Uploaded byCS & IT
- Transducers_catalogue_A0140e-9_low5.pdfUploaded byMOHAMMAED
- Chapter 16Uploaded byLi
- IMAGE_PROCESSING_AND_ITS_APPLICATIONUploaded bySathya Narayanan
- mit6 003f11 lec02Uploaded byapi-246008426
- Lecture 5Uploaded byPhuc Phan
- 10.1.1.11Uploaded byKart Hika

- Matlab - Crash Course in MatlabUploaded byAvinash Nandakumar
- Matlab TheoryUploaded byMuqthiar Ali
- Dynamic Simulation of a KUKA KR5 Industrial Robot using MATLAB SimMechanicsUploaded byrryoga92
- Modelling a 4g Lte System in MatlabUploaded byexfmln
- 03-ProjectReportUploaded byhermenegildo99
- Intro Che Thermodynamics Computer Program DownloadUploaded byFinigan Joyce
- Meshfree Chapter 12Uploaded byZenPhi
- Asee Mtis PaperUploaded byumairnaeem_90
- Lab Manual SIGNAL & SYSTEMS.pdfUploaded byHaris Baig
- MotionView 11.0 TutorialsUploaded byIndranil Bhattacharyya
- lec1.pdfUploaded byBaskaran M
- Matlab Summary and Tutorial.docUploaded byMeddyDanial
- MIMO Channel Capacity - File Exchange - MATLAB CentralUploaded bymahesh
- Graphing MatlabUploaded byDanishAman
- rss15-mrst SPE PAPER.pdfUploaded byWlad Cha
- DSP Mini ProjextUploaded byKrishnav Dave
- Matlab ManualUploaded byDhanush M
- FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEMUploaded byijcseit
- Skoge Book 2nd Edition MatlabUploaded byarviandy
- 59195Uploaded byRizky Wira Handalan
- Speed Control of DC MotorUploaded byYadira Rocano
- Multidimensional Arrays - MATLAB & Simulink - MathWorks IndiaUploaded byAranyakChakravarty
- LAB 1Uploaded byShabbir Memon
- Revista MatLabUploaded byboriberto
- dSPACEtutorialUploaded byAsger Jørgen Thor Hansen
- System Dynamics Ch3 The State Space Equations and Their Time Domain Solution.docUploaded byfitriafiadi
- vision.pdfUploaded byguru87.joshi3473
- stats.pdfUploaded bySergio SA
- app_mattUploaded byHeri Neutrino
- Digital Signal Processing Using MATLABUploaded byTurtogtokh Tumenjargal