SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
Lab No.08

Complex exponentials and phasors

Designed by : Dawar Awan
dawar@cecos.edu.pk
CECOS College of Engineering and IT

March – July 2012
Complex numbers
 Complex number , z = (3,4) = 3+4i
 ‘z’ can be defined in MatLab as , z=3+4i;
 Now, try the following commands.

real(z)
imag(z)
abs(z)
angle(z)
conj(z)

CECOS College of Engineering and IT

Real part of z
imaginary part of z
magnitude or modulus of z
phase or angle of z
conjugate of z

March – July 2012
Task
1. for z = 1+2i+3 , find the real and imaginary parts of z.

2. for z = 2+3i = Aejθ , find A and θ.

3. for z1 = 1+2i and z2 = 2+3i and z3 = z1.z2 = BejФ , find B
and Ф.

CECOS College of Engineering and IT

March – July 2012
Complex exponential signals
 A complex exponential signal is defined as
x(t)=Aej(wt+Ф)
 where
A= amplitude
w= frequency in rad/sec
Ф= phase
 According to Euler’s formula
Aej(wt+Ф) = Acos(wt+Ф) + jAsin(wt+Ф)
CECOS College of Engineering and IT

March – July 2012
Task
 In MATLAB x(t)=Aej(wt+Ф) is defined as

x=A*exp(i*(wt+ Ф))
 For the complex exponential signal x(t), verify the
Euler’s relation ship by plotting the real and imaginary
parts of x(t), for x(t)= 2ej(4πt)
 Plot the real and imaginary parts of the conjugate of x(t)
CECOS College of Engineering and IT

March – July 2012
Phasor addition
 Sinusoids having same frequency can be added using
their phasors
 Phasor representation of x(t)=Acos(2πft + ф), is X=Aejф
 Example :

x1(t)=1.7cos(2π10t+70π/180) ------- X1=1.7ej 70 π/180
x2(t)=1.9cos(2π10t+200π/180) ------- X2=1.9ej 200 π/180

To find x3(t)=x1(t)+x2(t) , we first add their phasors
CECOS College of Engineering and IT

March – July 2012
Phasor addition
X3= X1 + X2
X3= 1.7ej 70 π/180 + 1.9ej 200 π/180
Convert them to rectangular form, add them, and then
convert back to polar form (Task)
X3 = 1.532ej 141.79 π/180
x3(t) =1.532cos(2π10t + 141.79π/180)

CECOS College of Engineering and IT

March – July 2012
Task
 Verify the phasor addition graphically, by showing that
1.7cos(2π10t+70π/180) + 1.9cos(2π10t+200π/180)
= 1.532cos(2π10t + 141.79π/180)

CECOS College of Engineering and IT

March – July 2012

Mais conteúdo relacionado

Mais procurados

All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithmSrikrishnan Suresh
 
Dijkstra s algorithm
Dijkstra s algorithmDijkstra s algorithm
Dijkstra s algorithmmansab MIRZA
 
Exam matlab1
Exam matlab1Exam matlab1
Exam matlab1moness
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplicationRespa Peter
 
5.3 dynamic programming 03
5.3 dynamic programming 035.3 dynamic programming 03
5.3 dynamic programming 03Krish_ver2
 
Dijkstra algorithm a dynammic programming approach
Dijkstra algorithm   a dynammic programming approachDijkstra algorithm   a dynammic programming approach
Dijkstra algorithm a dynammic programming approachAkash Sethiya
 
Minicourse on Network Science
Minicourse on Network ScienceMinicourse on Network Science
Minicourse on Network SciencePavel Loskot
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.Mohd Arif
 
Ai lecture 9(unit02)
Ai lecture  9(unit02)Ai lecture  9(unit02)
Ai lecture 9(unit02)vikas dhakane
 
multimedia scenarios with temporal micro and macro controls
multimedia scenarios with temporal micro and macro controlsmultimedia scenarios with temporal micro and macro controls
multimedia scenarios with temporal micro and macro controlsMauricio Toro-Bermudez, PhD
 
Social network-analysis-in-python
Social network-analysis-in-pythonSocial network-analysis-in-python
Social network-analysis-in-pythonJoe OntheRocks
 

Mais procurados (20)

Unit 04
Unit 04Unit 04
Unit 04
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithm
 
Dijkstra s algorithm
Dijkstra s algorithmDijkstra s algorithm
Dijkstra s algorithm
 
Fuzzy c means manual work
Fuzzy c means manual workFuzzy c means manual work
Fuzzy c means manual work
 
Backtraking pic&def
Backtraking pic&defBacktraking pic&def
Backtraking pic&def
 
Exam matlab1
Exam matlab1Exam matlab1
Exam matlab1
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplication
 
matlab 10
matlab 10matlab 10
matlab 10
 
5.3 dynamic programming 03
5.3 dynamic programming 035.3 dynamic programming 03
5.3 dynamic programming 03
 
Dijkstra algorithm a dynammic programming approach
Dijkstra algorithm   a dynammic programming approachDijkstra algorithm   a dynammic programming approach
Dijkstra algorithm a dynammic programming approach
 
Representation
RepresentationRepresentation
Representation
 
Minicourse on Network Science
Minicourse on Network ScienceMinicourse on Network Science
Minicourse on Network Science
 
Dda algo notes
Dda algo notesDda algo notes
Dda algo notes
 
Computer algebra-system-maple
Computer algebra-system-mapleComputer algebra-system-maple
Computer algebra-system-maple
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 
Ai lecture 9(unit02)
Ai lecture  9(unit02)Ai lecture  9(unit02)
Ai lecture 9(unit02)
 
multimedia scenarios with temporal micro and macro controls
multimedia scenarios with temporal micro and macro controlsmultimedia scenarios with temporal micro and macro controls
multimedia scenarios with temporal micro and macro controls
 
Mechanical Engineering Homework Help
Mechanical Engineering Homework HelpMechanical Engineering Homework Help
Mechanical Engineering Homework Help
 
Lect20
Lect20Lect20
Lect20
 
Social network-analysis-in-python
Social network-analysis-in-pythonSocial network-analysis-in-python
Social network-analysis-in-python
 

Destaque (13)

matab no9
matab no9matab no9
matab no9
 
Lab no.06
Lab no.06Lab no.06
Lab no.06
 
matlab no1
matlab no1matlab no1
matlab no1
 
matab no2
matab no2matab no2
matab no2
 
matab no3
matab no3matab no3
matab no3
 
matab no5
matab no5matab no5
matab no5
 
communication system Chapter 5
communication system Chapter 5communication system Chapter 5
communication system Chapter 5
 
communication system Chapter 6
communication system Chapter 6communication system Chapter 6
communication system Chapter 6
 
communication system ch1
communication system ch1communication system ch1
communication system ch1
 
Lab no.07
Lab no.07Lab no.07
Lab no.07
 
communication system Chapter 3
communication system Chapter 3communication system Chapter 3
communication system Chapter 3
 
communication system Chapter 4
communication system Chapter 4communication system Chapter 4
communication system Chapter 4
 
communication system Chapter 2
communication system Chapter 2communication system Chapter 2
communication system Chapter 2
 

Semelhante a Lab no.08

signal and system Lecture 2
signal and system Lecture 2signal and system Lecture 2
signal and system Lecture 2iqbal ahmad
 
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACE
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACEμ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACE
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACEtheijes
 
1 complex numbers part 1 of 3
1 complex numbers part 1 of 31 complex numbers part 1 of 3
1 complex numbers part 1 of 3naveenkumar9211
 
Indefinite Integration One shot Revision
Indefinite Integration One shot Revision Indefinite Integration One shot Revision
Indefinite Integration One shot Revision CHANDHINIJAYARAMAN
 
College Algebra MATH 107Record your answers and work on th.docx
College Algebra MATH 107Record your answers and work on th.docxCollege Algebra MATH 107Record your answers and work on th.docx
College Algebra MATH 107Record your answers and work on th.docxclarebernice
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systemsbabak danyal
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniquesKrishna Gali
 
Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)Laurel Ayuyao
 
A common random fixed point theorem for rational inequality in hilbert space
A common random fixed point theorem for rational inequality in hilbert spaceA common random fixed point theorem for rational inequality in hilbert space
A common random fixed point theorem for rational inequality in hilbert spaceAlexander Decker
 
M1 unit ii-jntuworld
M1 unit ii-jntuworldM1 unit ii-jntuworld
M1 unit ii-jntuworldmrecedu
 
Banco de preguntas para el ap
Banco de preguntas para el apBanco de preguntas para el ap
Banco de preguntas para el apMARCELOCHAVEZ23
 
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONINDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONijcseit
 
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONINDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONijcseit
 
Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)Alexander Litvinenko
 
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...Ali Ajouz
 

Semelhante a Lab no.08 (20)

Efoom 2020
Efoom 2020Efoom 2020
Efoom 2020
 
signal and system Lecture 2
signal and system Lecture 2signal and system Lecture 2
signal and system Lecture 2
 
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACE
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACEμ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACE
μ-RANGE, λ-RANGE OF OPERATORS ON A HILBERT SPACE
 
1 complex numbers part 1 of 3
1 complex numbers part 1 of 31 complex numbers part 1 of 3
1 complex numbers part 1 of 3
 
Indefinite Integration One shot Revision
Indefinite Integration One shot Revision Indefinite Integration One shot Revision
Indefinite Integration One shot Revision
 
College Algebra MATH 107Record your answers and work on th.docx
College Algebra MATH 107Record your answers and work on th.docxCollege Algebra MATH 107Record your answers and work on th.docx
College Algebra MATH 107Record your answers and work on th.docx
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
Sns pre sem
Sns pre semSns pre sem
Sns pre sem
 
Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)
 
A common random fixed point theorem for rational inequality in hilbert space
A common random fixed point theorem for rational inequality in hilbert spaceA common random fixed point theorem for rational inequality in hilbert space
A common random fixed point theorem for rational inequality in hilbert space
 
M1 unit ii-jntuworld
M1 unit ii-jntuworldM1 unit ii-jntuworld
M1 unit ii-jntuworld
 
1. introduction to complex numbers
1. introduction to complex numbers1. introduction to complex numbers
1. introduction to complex numbers
 
Congrès SMAI 2019
Congrès SMAI 2019Congrès SMAI 2019
Congrès SMAI 2019
 
1 ca nall
1 ca nall1 ca nall
1 ca nall
 
Banco de preguntas para el ap
Banco de preguntas para el apBanco de preguntas para el ap
Banco de preguntas para el ap
 
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONINDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
 
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATIONINDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
INDUCTIVE LEARNING OF COMPLEX FUZZY RELATION
 
Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)
 
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
 

Lab no.08

  • 1. Lab No.08 Complex exponentials and phasors Designed by : Dawar Awan dawar@cecos.edu.pk CECOS College of Engineering and IT March – July 2012
  • 2. Complex numbers  Complex number , z = (3,4) = 3+4i  ‘z’ can be defined in MatLab as , z=3+4i;  Now, try the following commands. real(z) imag(z) abs(z) angle(z) conj(z) CECOS College of Engineering and IT Real part of z imaginary part of z magnitude or modulus of z phase or angle of z conjugate of z March – July 2012
  • 3. Task 1. for z = 1+2i+3 , find the real and imaginary parts of z. 2. for z = 2+3i = Aejθ , find A and θ. 3. for z1 = 1+2i and z2 = 2+3i and z3 = z1.z2 = BejФ , find B and Ф. CECOS College of Engineering and IT March – July 2012
  • 4. Complex exponential signals  A complex exponential signal is defined as x(t)=Aej(wt+Ф)  where A= amplitude w= frequency in rad/sec Ф= phase  According to Euler’s formula Aej(wt+Ф) = Acos(wt+Ф) + jAsin(wt+Ф) CECOS College of Engineering and IT March – July 2012
  • 5. Task  In MATLAB x(t)=Aej(wt+Ф) is defined as x=A*exp(i*(wt+ Ф))  For the complex exponential signal x(t), verify the Euler’s relation ship by plotting the real and imaginary parts of x(t), for x(t)= 2ej(4πt)  Plot the real and imaginary parts of the conjugate of x(t) CECOS College of Engineering and IT March – July 2012
  • 6. Phasor addition  Sinusoids having same frequency can be added using their phasors  Phasor representation of x(t)=Acos(2πft + ф), is X=Aejф  Example : x1(t)=1.7cos(2π10t+70π/180) ------- X1=1.7ej 70 π/180 x2(t)=1.9cos(2π10t+200π/180) ------- X2=1.9ej 200 π/180 To find x3(t)=x1(t)+x2(t) , we first add their phasors CECOS College of Engineering and IT March – July 2012
  • 7. Phasor addition X3= X1 + X2 X3= 1.7ej 70 π/180 + 1.9ej 200 π/180 Convert them to rectangular form, add them, and then convert back to polar form (Task) X3 = 1.532ej 141.79 π/180 x3(t) =1.532cos(2π10t + 141.79π/180) CECOS College of Engineering and IT March – July 2012
  • 8. Task  Verify the phasor addition graphically, by showing that 1.7cos(2π10t+70π/180) + 1.9cos(2π10t+200π/180) = 1.532cos(2π10t + 141.79π/180) CECOS College of Engineering and IT March – July 2012