Matlab ? uniform quantization, Electrical Engineering

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
Posted Date: 11/1/2012 8:32:31 AM | Location : United States







Related Discussions:- Matlab ? uniform quantization, Assignment Help, Ask Question on Matlab ? uniform quantization, Get Answer, Expert's Help, Matlab ? uniform quantization Discussions

Write discussion on Matlab ? uniform quantization
Your posts are moderated
Related Questions
Q. Illustrate the principle of alignment? Pieces of highly permeablematerial, such as iron, situated in ambientmediumof lowpermeability, such as air, in which a magnetic field

Determine Potential Difference: Compute the current through each element of the given network and also determine potential difference across 15 Ω resistor. Figure

A 9.1V zener diode has a nominal voltage fall at a test current of 28mA. The internal resistance of the zener diode is 5 ohms. Find the voltage drop across the zener diode at zener

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


To have the same value of P e , show that E b /N 0 in a coherent-ASK system has to be twice that in a coherent PSK system.

I would send the project file so you can take a look at it.

Role of Electricity Regulatory Commission in KPI The new Electricity Act, 2003, has empowered Electricity Regulatory Commission (ERC) to play an extremely decisive role in all

Q. Implement the following Boolean functions by employing 8-to-1multiplexers. (a) F 1 (A,B,C) = Σ m i (0, 2, 4, 6) (b) F 2 (A,B,C) = Σ m i (1, 3, 7)

The mobility of free electrons and holes for pure silicon are 0.13 and 0.05 m2/V-S respectively. Find the intrinsic conductivity for silicon. Assuming ni = 1.5x 1016/cm3 at room te