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
This question investigates the effect of extending the data set with zero-padding & of the appropriate time in the workflow to apply a window function. To get finer resolution in t

How DRAM's are different from SRAM's?  Why DRAMs are said to employ address multiplexing? Dynamic RAM (DRAM) is fundamentally similar as SRAM, except that this retains data for

describe the compensation technique for both Vbe and Icbo

Copy  data byte  10H LDAX  instruction Example : Copy  data byte  10H  stored at memory  location 3020 H to  the accumulator using  LDAX  instructions. Solution : To use

4. Modify the circuit designed for question 3 to provide an emergency stop which will park both cylinders in the extended position (i.e. A + B +). 5. Modify the circuit designed fo

high resistivity materials

Define the aircraft axes & degrees of freedom. Analyse the different maneuvers that can be done by an aircraft.

Production of Rotating Fields from Single-Phase Windings In this subsection we show that a single-phase winding carrying alternating current produces a stationary pulsating flu

Consider the circuit of Figure and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage vx(t) across the 5- resistor.

We commissioned a 'bad practice exemplar' by asking Plexus to modify a good design (provided by Valor) to demonstrate the most likely kinds of faults in each of the areas Design fo