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

Determine active power-reactive power, Three equal impedances of D ohms res...

Three equal impedances of D ohms resistance and C inductive reactance are connected in a DELTA configuration. The line voltage is A00 volts. Determine the line current, phase cur

What is resistivity, What is resistivity? Resistivity of a material ma...

What is resistivity? Resistivity of a material may be explained as the resistance of the material having unit length and also unit cross sectional area. Unit of it is ohm-m.

What do you mean by bezier curve, What do you mean by Bezier curve? Shown B...

What do you mean by Bezier curve? Shown B0 (1,1), B1 (2,3), B2 (4,3), B3 (3,1) the vertices of Bezier polygon, calculate seven points on Bezier curve. Write in brief the differe

Input offset voltage of operational amplifier, Q. Input offset voltage of o...

Q. Input offset voltage of operational amplifier? When both inputs are tied to ground, i.e., both differential-mode and common-mode inputs are zero, the output should be zero.

How DRAM is different from SRAM, How DRAM's are different from SRAM's?  Why...

How DRAM's are different from SRAM's?  Why DRAMs are said to employ address multiplexing? Dynamic RAM (DRAM) is fundamentally similar as SRAM, except that this retains data for

Calculate sending-end voltage at 0.9 pf lagging, A three-phase, 34.5-kV, 60...

A three-phase, 34.5-kV, 60-Hz, 40-km transmission line has a per-phase series impedance of 0.2+j0.5/km. The load at the receiving end absorbs 10 MVA at 33 kV. Calculate the follow

Give illustration of and and or gate - microprocessor, Give Illustration of...

Give Illustration of AND and OR Gate - Microprocessor? Illustration: The image below demonstrate the 4 possible inputs into a 2-input AND gate and all the corresponding outputs

Pins and signals , Pins  and Signals As  discussed  earlier that  808...

Pins  and Signals As  discussed  earlier that  8085  microprocessor  chip has 40 pins shown  various  pins  and signals of 8085  microprocessor. All  these  signals can be   c

Sketch phasor diagrams for lagging power factor load, Q. For a transmission...

Q. For a transmission-line model that includes only the series impedance Z, sketch phasor diagrams for: (a) Lagging power factor load. (b) Leading power factor load.

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