Matlab ? uniform quantization, Electrical Engineering

Assignment Help:
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

Related Discussions:- Matlab ? uniform quantization

Draw the timing diagram for the first input pulses, Given the block diagram...

Given the block diagram of a synchronous counter shown in Figure (a), draw the timing diagram for the first input pulses, with Q 1 , Q 2 , and Q 3 initially at 0.

Write notes on clamping, Q. Write notes on clamping ? Clamping network ...

Q. Write notes on clamping ? Clamping network shifts (clamps) a signal to a different d.c level, that is it introduces a d.c. level to an a.c signal. Hence, the clamping networ

Single phase full wave mid point type rectifier , Single Phase Full Wave M...

Single Phase Full Wave Mid Point Type  Rectifier A single  phase full wave  mid point  type controlled  rectifier consists  two  thyristors  one centre tapped  transformer  an

Testing for continuity-earthing, Testing for Continuity : You may have obs...

Testing for Continuity : You may have observed sometimes that when all the connections in the appliance as well as the plug are made properly the appliance may still not work. Thi

Discuss classification of conducting materials, Discuss classification of c...

Discuss classification of conducting materials into low resistivity and high resistivity materials. Conducting materials are categorized as low resistivity materials and high r

Explain pulse-code modulation, Q. Explain Pulse-Code Modulation? PCM is...

Q. Explain Pulse-Code Modulation? PCM is the simplest and oldest waveform coding scheme for processing an analog signal by sampling, quantizing, and binary encoding. Figure sho

Dc motor, Why rhehostat is not used in the field of dc series motor

Why rhehostat is not used in the field of dc series motor

High level language - third generation language , High Level Language ( thi...

High Level Language ( third Generation Language ) The difficulties of low  level  languages are overcome  by high  level languages. In  assembly  language  mnemonics  were used

Sub instruction - op code format , SUB Instruction Op code  format is...

SUB Instruction Op code  format is of SUB  instruction is Replace  the three bit code  of the register R from   to obtain the op code of the  required SUB  instruction . o

Define johnson counter to convert serial data, Define johnson counter to Co...

Define johnson counter to Convert Serial Data to Parallel Data? A microprocessor-based or computer system commonly requires incoming data to be in parallel format. But often t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd