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
Simulate and compare BER of QPSK system and 4-QAM system without grey coding Eb/No=0.2.4.6.8.10

Activities to Preparing Long-term Plans 1. Data collection regarding existing loads, forecast of expected loads, operating conditions, and etc. from Grid substation up to cons

Qestions: a)  Draw the approximate equivalent circuit for a single phase power transformer. Identify all circuit elements and briefly explain their physical relevance. b)  S

Common emitter configuration: even in common emitter configuration current relation is like is same like common bias configuration. For common emitter configuration output cha

using a sketch explain the frequency response of rc coupled transistor amplifier

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

Question: (a) With the help of a clearly labeled diagram explain the functioning of a basic thermocouple. (b) Briefly explain the principle and operation of strain gauges

with the aid of the diagram explain the following rules that can be used to determine the direction of magnetic fields around a current carrying conductor (1)cork screw rule (2)rig

A three-phase, wye-connected, 2300-V, 60-Hz, round-rotor synchronous motor has a syn- chronous reactance of 2 per phase and negligible armature resistance. (a) If the motor tak