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
LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last kept information can be retrieved first.

what ternary alloy, composition and binary substrate can be used for an LED at 1.55 µm optical fiber windo

For the network shown in Figure, find the current in each resistor by means of nodal analysis.

Q. Explain about Direct-current machines? Generally speaking, conventional dc generators are becoming obsolete and increasingly often are being replaced by solid-state rectifie

The  Octal Inverter 74LS 240 It is  similar  to above  octal  buffer  but with  inverter output. The  logic  diagram is  shown  in figure below . Normal 0

Why memory decoding is required? To attach a memory device to the microprocessor, this is necessary to decode the address sent by the microprocessor. Decoding creates the memo

Connection of Shunt Capacitors - Across Individual Customers The most appropriate manner of improving PF of the distribution system and thereby reducing line losses is to link

Techniques and resources Different techniques and resources were used in different areas of the problem during the course of the project. The most important of them was th

Q. A magnetic force exists between two adjacent, parallel current-carryingwires. Let I1 and I2 be the currents carried by the wires, and r the separation between them.

Q. Nonsalient-pole rotor construction? The nonsalient-pole (smooth or cylindrical) rotor construction is preferred for high-speed turbine-driven alternators (known also as turb