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

Write the kvl equation for the circuit, Q. Consider a reverse-biased diode ...

Q. Consider a reverse-biased diode with a source voltage VB in series with a load resistance RL. Write the KVL equation for the circuit.

Error in simulink, dear sir, when i am going to simulate my model in matlab...

dear sir, when i am going to simulate my model in matlab i am getting the following error : the derived input for the integrator is inf or nan at time xxxxx. try to reduce the step

What do you understand by bezier surface, What do you understand by Bezier ...

What do you understand by Bezier surface ? Discuss Determine the equivalent bicubic formulation of a closed and open cubic B-spine surface. a) What do you understand by solid

What are magnetic materials, Magnetic materials (A) provide path to ma...

Magnetic materials (A) provide path to magnetic flux. (B) are good insulators. (C) are semiconductors. (D) None. Ans: Magnetic materials provide path to

Explain the discovery of neutron. mention its properties, Explain the disco...

Explain the discovery of neutron. Mention its properties. Discovery of Neutron: The existence of neutron was first predicted by Rutherford in the year 1920. But it was discov

Explain resistivity, Explain Resistivity. Resistivity : Resistance R o...

Explain Resistivity. Resistivity : Resistance R of a wire containing cross-sectional area A and length L maintain the relationship, - R α L and R α 1/A; that is resulting R α

Define causal system - discrete time systems, Define Causal System - Discre...

Define Causal System - Discrete Time Systems? A causal system is one which produces an output only when there is an input. All physical systems are causal. In general, a causal

Field current and the armature terminal voltage, Consider the operation of ...

Consider the operation of a dc shuntmotor that is affected by the following changes in its operating conditions. Explain the corresponding approximate changes in the armature curre

Sources of power dissipation in cmos logic, Describe the three main sources...

Describe the three main sources of power dissipation in CMOS logic. Hence calculate the power dissipated in a CMOS ASIC of 40,000 gates operating at a frequency of 133MHz with a s

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