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. Describe the following phasor equations represented in the time domain: (a) ¯ E = K1e-¯ γz (b) ¯ E = K2e ¯ γz where z is the space coordinate, K1 and K2 are constants,

why do we use commutator?

Write a program implementing the conjugate gradient method (un-preconditioned). Solve the matrix equation corresponding to a finite difference node-spacing, h = 0.02m in x and y di

Ferroelectric materials are characterised by (A) Very high degree of polarisation. (B) A sharp dependence of polarisation on temperature. (C) Non-linear dependence o

Q. Why do we cascade amplifiers? Why is RC coupling the most widely used coupling between 2 stages of a cascading amplifier? The voltage or power gain or frequency response obt


explain 4-bit comparator

Earth Leakage : Earth leakage takes place when, through some fault in an appliance or its connections. Electric current escapes to earth i.e. the body of the appliance become 'liv

National Tariff Policy or NTP In the draft of NTP, it is suggested that although setting the tariff ERC should introduce performance-based cost of service regulations, a clear

Q. What is Enhancement MOSFETS? Figure illustrates the cross-sectional structure of an n-channel enhancement MOSFET and its symbol showing as a normally off device when used fo