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
In a certain chemical-processing plant, a liquid chemical is used in a manufacturing process. The chemical is stored in three different tanks. A level sensor in each tank produces


Low Investments in Transmission and Distribution System The investment on T&D system in our country has commonly been lower than that on generation. It is hugely believed in

Lenz's law states: 'The direction of an induced e.m.f. is always like that it tends to set up a current opposing the motion or the change of flux responsible for inducing that

May I know if your site can help me with design a snubber and model the circuit using LTSpice software?

Define Shifting and Reversing – Linear System? The signal x[n - m] is said to be time-shifted by m samples, where m is an integer. If m is positive, the shift is to the right (


Q. The flux-density distribution produced in a two - pole synchronous generator by an acexcited field winding is B(θ, t) = B m sin ω 1 t cos θ Find the nature of the armatur

3-Phase 3 Wire Meter A 3-phase 3 wire meter has 2 elements of each category on the other hand of 3 elements as in the case of 3-phase 4 wire meter. The primary principle of op

Simulate and compare BER of QPSK system and 4-QAM system without grey coding Eb/No=0.2.4.6.8.10