SlideShare a Scribd company logo
Quantitation MATLAB code
- Quantization is the process of mapping continuous infinite values to a smaller set of
discrete finite values. In the context of simulation and embedded computing, it is
about approximating real-world values with a digital representation that introduces
limits on the precision and range of a value.
- Quantization is involved to degree in all digital signal processing, as the process of
representing a signal in digital form ordinarily involves rounding.
- The simplest way to quantize a signal is to choose the digital amplitude value closest
to the original analogue amplitude. This example shows the original analogue signal
(green), the quantized signal (black dots), the signal reconstructed from the
quantized signal (yellow) and the difference between the original signal and the
reconstructed signal (red). The difference between the original signal and the
reconstructed signal is the quantization error and, in this simple quantization
scheme, is a deterministic function of the input signal.
There are two types of Quantization
- Uniform Quantization
- Non-uniform Quantization.
- The type of quantization in which the quantization levels are uniformly spaced
termed as a Uniform Quantization and unequal and mostly the relation between
them is logarithmic, termed as a Non-uniform Quantization.
- There are two types of uniform quantization. They are Mid-Rise type and Mid-
Tread type. The following figures represent the two types of uniform quantization.
- The Mid-Rise type called because the origin lies in the middle of a raising part
of the staircase like graph. The quantization levels in this type are even in
number.
- The Mid-tread type called because the origin lies in the middle of a tread of
the staircase like graph. The quantization levels in this type are odd in
number.
- Both the mid-rise and mid-tread type of uniform quantizers are symmetric
about the origin.
Quantization Error
- For any system, during its functioning, there is always a difference in the
values of its input and output. The processing of the system results in an
error, which is the difference of those values.
- The difference between an input value and its quantized value called
a Quantization Error. A Quantizer is a logarithmic function that performs
Quantization rounding off the value rounding off the value. An analogue-to-
digital converter (ADC) works as a quantizer.
- The following figure illustrates an example for a quantization error,
indicating the difference between the original signal and the quantized signal.
Quantization Noise
It is a type of quantization error, which usually occurs in analogue audio signal, while
quantizing it too digital. For example, in music, the signals keep changing
continuously, where a regularity not found in errors. Such errors create a wideband
noise called as Quantization Noise.
MATLAB code
- This example illustrates the nature of scalar quantization more clearly.
After quantizing a sampled sine wave, it plots the original and
quantized signals. The plot contrasts the x's that make up the sine
curve with the dots that make up the quantized signal. The vertical
coordinate of each dot is a value in the vector codebook.

More Related Content

Similar to 8989.pdf

digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
asyrafjpk
 
Digitization
DigitizationDigitization
Digitization
Aminul Tanvin
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
Mahima Shastri
 
Analog to Digital conversion
Analog to Digital conversionAnalog to Digital conversion
Analog to Digital conversion
Chetan Pandey
 
DIFFERENTIAL PCM
DIFFERENTIAL PCMDIFFERENTIAL PCM
DIFFERENTIAL PCM
Hanu Kavi
 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuits
Sweta Kumari Barnwal
 
Analog to digital conversion technique
Analog to digital conversion techniqueAnalog to digital conversion technique
Analog to digital conversion technique
Umar Shuaib
 
Analog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptxAnalog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptx
MohamedHussain648450
 
A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.
MohamedHussain648450
 
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
tasmitha
 
Digital transmission & analog Digital to conversion
Digital transmission &  analog Digital to conversionDigital transmission &  analog Digital to conversion
Digital transmission & analog Digital to conversion
ChAwais15
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
Water Birds (Ali)
 
Chapter 9.pptx
Chapter 9.pptxChapter 9.pptx
Chapter 9.pptx
AnisZahirahAzman
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
Anas Smarty
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
wewe mahir
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2
Hossam Hassan
 
Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
Bilal Maqbool ツ
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
SoyallRobi
 

Similar to 8989.pdf (20)

digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
 
Digitization
DigitizationDigitization
Digitization
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
 
Analog to Digital conversion
Analog to Digital conversionAnalog to Digital conversion
Analog to Digital conversion
 
DIFFERENTIAL PCM
DIFFERENTIAL PCMDIFFERENTIAL PCM
DIFFERENTIAL PCM
 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuits
 
Analog to digital conversion technique
Analog to digital conversion techniqueAnalog to digital conversion technique
Analog to digital conversion technique
 
Analog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptxAnalog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptx
 
A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.
 
CE_PCM.ppt
CE_PCM.pptCE_PCM.ppt
CE_PCM.ppt
 
Digital transmission & analog Digital to conversion
Digital transmission &  analog Digital to conversionDigital transmission &  analog Digital to conversion
Digital transmission & analog Digital to conversion
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
 
Chapter 9.pptx
Chapter 9.pptxChapter 9.pptx
Chapter 9.pptx
 
Real time signal processing
Real time signal processingReal time signal processing
Real time signal processing
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Introduction to digital signal processing 2
Introduction to digital signal processing 2Introduction to digital signal processing 2
Introduction to digital signal processing 2
 
Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
 
ResearchPaper_Final
ResearchPaper_FinalResearchPaper_Final
ResearchPaper_Final
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 

Recently uploaded

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

8989.pdf

  • 1. Quantitation MATLAB code - Quantization is the process of mapping continuous infinite values to a smaller set of discrete finite values. In the context of simulation and embedded computing, it is about approximating real-world values with a digital representation that introduces limits on the precision and range of a value. - Quantization is involved to degree in all digital signal processing, as the process of representing a signal in digital form ordinarily involves rounding. - The simplest way to quantize a signal is to choose the digital amplitude value closest to the original analogue amplitude. This example shows the original analogue signal (green), the quantized signal (black dots), the signal reconstructed from the quantized signal (yellow) and the difference between the original signal and the reconstructed signal (red). The difference between the original signal and the reconstructed signal is the quantization error and, in this simple quantization scheme, is a deterministic function of the input signal. There are two types of Quantization - Uniform Quantization - Non-uniform Quantization. - The type of quantization in which the quantization levels are uniformly spaced termed as a Uniform Quantization and unequal and mostly the relation between them is logarithmic, termed as a Non-uniform Quantization. - There are two types of uniform quantization. They are Mid-Rise type and Mid- Tread type. The following figures represent the two types of uniform quantization.
  • 2. - The Mid-Rise type called because the origin lies in the middle of a raising part of the staircase like graph. The quantization levels in this type are even in number. - The Mid-tread type called because the origin lies in the middle of a tread of the staircase like graph. The quantization levels in this type are odd in number. - Both the mid-rise and mid-tread type of uniform quantizers are symmetric about the origin. Quantization Error - For any system, during its functioning, there is always a difference in the values of its input and output. The processing of the system results in an error, which is the difference of those values. - The difference between an input value and its quantized value called a Quantization Error. A Quantizer is a logarithmic function that performs Quantization rounding off the value rounding off the value. An analogue-to- digital converter (ADC) works as a quantizer. - The following figure illustrates an example for a quantization error, indicating the difference between the original signal and the quantized signal. Quantization Noise It is a type of quantization error, which usually occurs in analogue audio signal, while quantizing it too digital. For example, in music, the signals keep changing continuously, where a regularity not found in errors. Such errors create a wideband noise called as Quantization Noise.
  • 4. - This example illustrates the nature of scalar quantization more clearly. After quantizing a sampled sine wave, it plots the original and quantized signals. The plot contrasts the x's that make up the sine curve with the dots that make up the quantized signal. The vertical coordinate of each dot is a value in the vector codebook.