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
You are required to design and document the hardware design for Lift Control Unit (LCU) as required by the questions/specification in section 2 above, based on a 68HC12D60 microcon

Q. Use of Speaker? Speaker:Basically speaker is the receiver for telephone. Speaker converts electrical signals received from local loop to acoustical signals(sound waves) that

First Quadrant or Class A chopper A chopper  two mode operation of class  A chopper  can be explained as follow.

Q. What do you mean by Amplifier block? An amplifier can be modeled as a two-port device, that is, a box with two pairs of terminals designated as input and output, as shown in

Hi, I need help with this assignment. Is this assignment something you can help me with?

1. A PCM system uses 8 bits per sample and the analog signal is limited to 4.3 kHz. The PCM data is transmitted using (a) BFSK and (b) ASK. Determine the bandwidth required for tra

What are the signals involved in memory bank selection in 8086 microprocessor? The 8086 based system will have two sets of memory IC's. One set for even bank and another for od

Second Generation ( 1954- 1964) After the invention of semiconductor devices mainly transistors size of computer s was reduced a lot computing power increased reliability was

Technical Loss Reduction - Power Supply 1. Technical loss reduction could be achieved through several measures such as network reconfiguration, load balancing, network recondu

Power Transistor A power  transistor  is a three layer  PNP  or NPN  semiconductor device  having  two  junctions. Three  terminals of power  transistors are collector emitter