SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
Lab No.11

Practice (Signal Addition and
Multiplication)

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

March – July 2012
Concept
 Fourier series theory states that a periodic wave can be
represented as a summation of sinusoidal waves with
different frequencies, amplitudes and phase values.
 The frequencies of the sinusoids are harmonically
related.
fk = k.fo
 Where fo is the fundamental frequency and fk is the kth

harmonic.
CECOS College of Engineering and IT

March – July 2012
Signal addition

CECOS College of Engineering and IT

March – July 2012
Signal addition

y1

y2
CECOS College of Engineering and IT

March – July 2012
Signal addition

CECOS College of Engineering and IT

March – July 2012
Task
1. Perform the following signal additions
a) u[n] + u[-n]
b) u[n+2] + u[n-2]
2. Perform the following signal subtractions
a) u[n] - u [n+5]

b) [1,2,3,4,5] - [5,4,3,2,1]
3. Multiply the following two signals
a) 2n x u[n]
4. Decompose the following signal into its even and odd parts
a) [1,2,3,4,5,4,3,2,1]

Assume -5 ≤ n ≤ 5 for
all questions

CECOS College of Engineering and IT

March – July 2012

Contenu connexe

Tendances

Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015
Zen Harper
 
Genetic algorithm and their applications jan2013 (1)
Genetic algorithm and  their applications jan2013 (1)Genetic algorithm and  their applications jan2013 (1)
Genetic algorithm and their applications jan2013 (1)
SRI TECHNOLOGICAL SOLUTIONS
 

Tendances (19)

Profiling Java Programs for Parallelism
Profiling Java Programs for ParallelismProfiling Java Programs for Parallelism
Profiling Java Programs for Parallelism
 
Function point analysis
Function point analysisFunction point analysis
Function point analysis
 
Model and Design
Model and Design Model and Design
Model and Design
 
Modeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By ApModeling Style and Delay Model of VHDL By Ap
Modeling Style and Delay Model of VHDL By Ap
 
Analysis of algo
Analysis of algoAnalysis of algo
Analysis of algo
 
Polymath For Chemical Engineers
Polymath For Chemical EngineersPolymath For Chemical Engineers
Polymath For Chemical Engineers
 
FEDT VB NET- Creating VB .Net Project
FEDT  VB  NET- Creating VB .Net Project FEDT  VB  NET- Creating VB .Net Project
FEDT VB NET- Creating VB .Net Project
 
Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015
 
Complexity analysis in Algorithms
Complexity analysis in AlgorithmsComplexity analysis in Algorithms
Complexity analysis in Algorithms
 
Weekly report 8
Weekly report 8Weekly report 8
Weekly report 8
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
 
Fundamental of Algorithms
Fundamental of Algorithms Fundamental of Algorithms
Fundamental of Algorithms
 
Java parallel programming made simple
Java parallel programming made simpleJava parallel programming made simple
Java parallel programming made simple
 
Machine Learning Algorithm - Logistic Regression
Machine Learning Algorithm - Logistic RegressionMachine Learning Algorithm - Logistic Regression
Machine Learning Algorithm - Logistic Regression
 
Nnflc question
Nnflc  questionNnflc  question
Nnflc question
 
Genetic algorithm and their applications jan2013 (1)
Genetic algorithm and  their applications jan2013 (1)Genetic algorithm and  their applications jan2013 (1)
Genetic algorithm and their applications jan2013 (1)
 
Implementing Link-Prediction for Social Networks in a Database System (DBSoci...
Implementing Link-Prediction for Social Networks in a Database System (DBSoci...Implementing Link-Prediction for Social Networks in a Database System (DBSoci...
Implementing Link-Prediction for Social Networks in a Database System (DBSoci...
 
Algorithms Question bank
Algorithms Question bankAlgorithms Question bank
Algorithms Question bank
 
Deld model answer nov 2017
Deld model answer nov 2017Deld model answer nov 2017
Deld model answer nov 2017
 

Similaire à matlab 2

Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611
NEETRICKSJEE
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Chandrashekhar Padole
 

Similaire à matlab 2 (20)

matab no9
matab no9matab no9
matab no9
 
Lab no.07
Lab no.07Lab no.07
Lab no.07
 
Assg 2 dsp
Assg 2 dspAssg 2 dsp
Assg 2 dsp
 
bme301_lec_11.pdf
bme301_lec_11.pdfbme301_lec_11.pdf
bme301_lec_11.pdf
 
Engn2228 2014-lectures
Engn2228 2014-lecturesEngn2228 2014-lectures
Engn2228 2014-lectures
 
Lecture08-Arithmetic Code-4-Int Imp-P2.pdf
Lecture08-Arithmetic Code-4-Int Imp-P2.pdfLecture08-Arithmetic Code-4-Int Imp-P2.pdf
Lecture08-Arithmetic Code-4-Int Imp-P2.pdf
 
A flexible method to create wave file features
A flexible method to create wave file features A flexible method to create wave file features
A flexible method to create wave file features
 
1575 numerical differentiation and integration
1575 numerical differentiation and integration1575 numerical differentiation and integration
1575 numerical differentiation and integration
 
Quantitative Study of Innovation and Knowledge Building in Questions&Answers ...
Quantitative Study of Innovation and Knowledge Building in Questions&Answers ...Quantitative Study of Innovation and Knowledge Building in Questions&Answers ...
Quantitative Study of Innovation and Knowledge Building in Questions&Answers ...
 
Lecture 1 - Introduction to Signals.pdf
Lecture 1 - Introduction to Signals.pdfLecture 1 - Introduction to Signals.pdf
Lecture 1 - Introduction to Signals.pdf
 
Ec 2009 scheme syllabus
Ec 2009 scheme syllabusEc 2009 scheme syllabus
Ec 2009 scheme syllabus
 
Unit 02
Unit 02Unit 02
Unit 02
 
Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611
 
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
 
Quantum Mechanics PPT Chandigarh University
Quantum Mechanics PPT Chandigarh UniversityQuantum Mechanics PPT Chandigarh University
Quantum Mechanics PPT Chandigarh University
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
 
AWN IAT3 NOV 2021.doc
AWN IAT3 NOV 2021.docAWN IAT3 NOV 2021.doc
AWN IAT3 NOV 2021.doc
 
Digital-communication.pdf
Digital-communication.pdfDigital-communication.pdf
Digital-communication.pdf
 
Iat
Iat Iat
Iat
 
Quantum Mechanics information imoortant.pptx
Quantum Mechanics information imoortant.pptxQuantum Mechanics information imoortant.pptx
Quantum Mechanics information imoortant.pptx
 

Plus de moeen khan afridi

Plus de moeen khan afridi (7)

Lab no.08
Lab no.08Lab no.08
Lab no.08
 
communication system Chapter 5
communication system Chapter 5communication system Chapter 5
communication system Chapter 5
 
communication system Chapter 4
communication system Chapter 4communication system Chapter 4
communication system Chapter 4
 
communication system Chapter 3
communication system Chapter 3communication system Chapter 3
communication system Chapter 3
 
communication system Chapter 2
communication system Chapter 2communication system Chapter 2
communication system Chapter 2
 
communication system ch1
communication system ch1communication system ch1
communication system ch1
 
communication system Chapter 6
communication system Chapter 6communication system Chapter 6
communication system Chapter 6
 

Dernier

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Dernier (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

matlab 2

  • 1. Lab No.11 Practice (Signal Addition and Multiplication) Designed by : Dawar Awan dawar@cecos.edu.pk CECOS College of Engineering and IT March – July 2012
  • 2. Concept  Fourier series theory states that a periodic wave can be represented as a summation of sinusoidal waves with different frequencies, amplitudes and phase values.  The frequencies of the sinusoids are harmonically related. fk = k.fo  Where fo is the fundamental frequency and fk is the kth harmonic. CECOS College of Engineering and IT March – July 2012
  • 3. Signal addition CECOS College of Engineering and IT March – July 2012
  • 4. Signal addition y1 y2 CECOS College of Engineering and IT March – July 2012
  • 5. Signal addition CECOS College of Engineering and IT March – July 2012
  • 6. Task 1. Perform the following signal additions a) u[n] + u[-n] b) u[n+2] + u[n-2] 2. Perform the following signal subtractions a) u[n] - u [n+5] b) [1,2,3,4,5] - [5,4,3,2,1] 3. Multiply the following two signals a) 2n x u[n] 4. Decompose the following signal into its even and odd parts a) [1,2,3,4,5,4,3,2,1] Assume -5 ≤ n ≤ 5 for all questions CECOS College of Engineering and IT March – July 2012