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

Explain stator of a synchronous machine, Explain Stator of a Synchronous Ma...

Explain Stator of a Synchronous Machine? The stator of a synchronous machine is made of thin laminations of highly permeable (silicon) steel in order to reduce the core losses.

Generator, On which principle the generator works?

On which principle the generator works?

Find the current flow through a resistor, Q. Find the current flow through ...

Q. Find the current flow through a resistor ? Consider the circuit shown in Figure (a). Reduce the portion of the circuit to the left of terminals a-b to (a) a Thévenin equival

Determine total magnetic flux, Determine Total magnetic flux: A ring i...

Determine Total magnetic flux: A ring is composed of three sections. The cross-sectional area is 0.001 m2 for each section. The mean lengths of each section are l a = 0.3 m,

Show the force exerted on each is about one million tons, Q. Consider two 1...

Q. Consider two 1-C charges separated by 1min free space. Show that the force exerted on each is about one million tons.

Calomel electode, Explain the construction and working of Calomel electrode...

Explain the construction and working of Calomel electrode

Determine the electric force on each charge, Q Point charges, each of √4πε0...

Q Point charges, each of √4πε0 C, are located at the vertices of an equilateral triangle of side a. Determine the electric force on each charge.

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