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

Voice control mobile base, i need help for my final year project, and i wil...

i need help for my final year project, and i will really appreciate if you can assist me as soon as possible

Develop an analog computer simulation diagram, Q. Develop an analog compute...

Q. Develop an analog computer simulation diagram to solve the differential equation with y(0) = 2 and ? y(0) = 0.

Lki load register pair immediate instruction , LKI  Load Register pair  ...

LKI  Load Register pair  Immediate  Instruction This instruction is used to copy or  load  16 bit  data specified  in the  instruction  directly into  the register pair. The i

Common-drain jfet amplifier, Q. Common-Drain JFET Amplifier? Figure (a)...

Q. Common-Drain JFET Amplifier? Figure (a) shows a CD JFET amplifier in which resistors R 1 , R 2 , and R SS are selected by the bias design, and capacitors CG and CS are chos

Develop an electric equivalent network, Q. For the mechanical spring-mass-f...

Q. For the mechanical spring-mass-friction system shown in Figure, the differential equation relating the force F(t) and the velocity u(t) is given by  where M is themass,D

Motor, What is the main function of the slip ring

What is the main function of the slip ring

Describe operation performed by instruction OUT47 h, Describe the operation...

Describe the operation performed by the instruction OUT 47 h, AL. This transfers the content of AL to I/O port 47h. See that I/O port number shows as 0047h on the 16 bit addres

Vector calculus in electromagnetic theory, can you please briefly explain a...

can you please briefly explain about significance of the word direction in vectors with some valid points

Water.., hot and cold lime soda process

hot and cold lime soda process

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