Matlab ? uniform quantization, Electrical Engineering

Assignment Help:
simulate a uniform quantizer that takes as an input a vector of numbers and returns as an output the quantized vector.
1-Generate a random input vector of 10000 samples randomly in the range from [- 7, 7].
2-Simulate your quantizer three times with number of levels that are equal to 2 , 4 and 8.
3-The m-file output should include:
1. The 3 quantized vectors for the uniform quantizer with levels 2,4 and 8 respectively ( just display the first six elements from the original and the quantized vectors)
2. Calculate the absolute quantization error for the uniform quantizer with number of levels equal to 2, 4 and 8 respectively. Plot the absolute quantization error vs Number of Levels. (Comment on the output figure)
3. Calculate the variance of the quantization error for the uniform quantizer with number of levels equal to 2, 4 and 8 respectively. Plot the variance of the quantization error vs the Number of levels and Plot the theoretical variance of the quantization error vs the Number of levels on the same figure.
4. Get the SQNR of the uniform quantizer with number of levels equal to 2, 4 and 8 respectively. Plot the SQNR vs the Number of levels and Plot the theoretical SQNR vs the Number of levels on the same figure. (Comment on the output figure).
__________
Help to solve this problem ASAP ..Deep thanks

Related Discussions:- Matlab ? uniform quantization

What is the difference between tdma and fdma, TDMA: Time division multi...

TDMA: Time division multiple access (TDMA) is a channel access method for shared medium (generally radio) networks. It permits several users to share the similar frequency chan

Determine vout and the power supplied, Q. An operational amplifier stage is...

Q. An operational amplifier stage is typically represented by the circuit of Figure. For the values given, determine V out and the power supplied by the 2.5-V source.

Circuit with inductive load, Circuit with inductive load  Electromagnet...

Circuit with inductive load  Electromagnetic induction When a conductor is moved across a magnetic field so as to cut by the lines of force (or flux, an electromotive force

First generation 1946- 1654 - history of computer, First Generation (1946- ...

First Generation (1946- 1654) In the  first  generation computer  vacuum tubes and valves were used. These computer were very large in size ( thousands of square feet on the fl

Determine the force applied to the plunger by system, Q. For the electromag...

Q. For the electromagnet shown in Figure, the λ-i relationship for the normalworking range is given by i = aλ 2 + bλ(x -d) 2 ,where a and b are constants. Determine the force app

Discuss the need of peripheral component interconnect bus, Discuss the need...

Discuss the need of PCI bus. Peripheral Component Interconnect (PCI): It was developed by Intel and introduced in 1993 year. This is geared particularly to fifth- and sixth-

What are the duties of sub-station operator, What are the Basic Duties of S...

What are the Basic Duties of Sub-Station Operator? Ans: Sub station operator is responsible for safe and proper operation of all electrical equipments in sub-station. He co

Determine the number of bits of a natural binary encoder, Determine the num...

Determine the number of bits of a natural binary encoder that works with the quantizer: a) If the extreme levels are ±3.1 V, with a step size of 0.2 V. (b) If there are 128 q

Circuit, y more number of resistance and capacitor are used in a circuit w...

y more number of resistance and capacitor are used in a circuit what is the purpose to add ore than one..?

Common-drain jfet amplifier, Q. Common-Drain JFET Amplifier? Figure (a)...

Q. Common-Drain JFET Amplifier? Figure (a) shows a CD JFET amplifier in which resistors R 1 , R 2 , and R SS are selected by the bias design, and capacitors CG and CS are chos

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd