SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Profiling Java Programs for Parallelism
Profiling Java Programs for ParallelismProfiling Java Programs for Parallelism
Profiling Java Programs for ParallelismDmitry Anisimov
 
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 ApEr. Ashish Pandey
 
Polymath For Chemical Engineers
Polymath For Chemical EngineersPolymath For Chemical Engineers
Polymath For Chemical EngineersHashim Khan
 
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 Trinity Dwarka
 
Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015Dr_Zen_Harper_CV_May_2015
Dr_Zen_Harper_CV_May_2015Zen Harper
 
Java parallel programming made simple
Java parallel programming made simpleJava parallel programming made simple
Java parallel programming made simpleAteji Px
 
Machine Learning Algorithm - Logistic Regression
Machine Learning Algorithm - Logistic RegressionMachine Learning Algorithm - Logistic Regression
Machine Learning Algorithm - Logistic RegressionKush Kulshrestha
 
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
 
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...Nati Cohen
 

Mais procurados (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
 

Semelhante a matlab 2

Engn2228 2014-lectures
Engn2228 2014-lecturesEngn2228 2014-lectures
Engn2228 2014-lecturesdarcuin
 
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.pdfssuserb4d806
 
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 IJECEIAES
 
1575 numerical differentiation and integration
1575 numerical differentiation and integration1575 numerical differentiation and integration
1575 numerical differentiation and integrationDr Fereidoun Dejahang
 
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 ...KNOWeSCAPE2014
 
Lecture 1 - Introduction to Signals.pdf
Lecture 1 - Introduction to Signals.pdfLecture 1 - Introduction to Signals.pdf
Lecture 1 - Introduction to Signals.pdfssuser7218f0
 
Ec 2009 scheme syllabus
Ec 2009 scheme syllabusEc 2009 scheme syllabus
Ec 2009 scheme syllabustrrajiv87
 
Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611Assignment atomic structure_jh_sir-2611
Assignment atomic structure_jh_sir-2611NEETRICKSJEE
 
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
 
Quantum Mechanics PPT Chandigarh University
Quantum Mechanics PPT Chandigarh UniversityQuantum Mechanics PPT Chandigarh University
Quantum Mechanics PPT Chandigarh Universityvikashprajapatii2004
 
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 systemsChandrashekhar Padole
 
AWN IAT3 NOV 2021.doc
AWN IAT3 NOV 2021.docAWN IAT3 NOV 2021.doc
AWN IAT3 NOV 2021.docSubbuMurugan1
 
Quantum Mechanics information imoortant.pptx
Quantum Mechanics information imoortant.pptxQuantum Mechanics information imoortant.pptx
Quantum Mechanics information imoortant.pptxXigfonSqitro
 

Semelhante a 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
 

Mais de moeen khan afridi

Mais 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
 

Último

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
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 17Celine George
 
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.pptxnegromaestrong
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
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
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

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