matlab_tutorial_two

matlab_tutorial_two - ECE 561 Digital Communications...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 561 – Digital Communications Systems MATLAB Tutorial #2 This tutorial describes the blocks in the Communications Blockset that are used for quantization and pulse modulation. In the first example we will simulate a uniform quantizer that has a range of ±4V and 8 quantization levels. The Quantizing Encoder block performs uniform quantization. This block requires two parameters: the quantization partition and the quantization codebook. The quantization partition is a vector that includes the values at which the intervals are separated. In our example, each quantization level is 8/8 = 1. Thus, we start at a level of -4 and increase by one unit until we reach the maximum values of 4. We describe this with the quantization partition: [ -4 : 1 : 4] The quantization codebook is a vector that specifies the output value for each quantization level in addition to the output value corresponding to inputs outside of the range of the quantizer. We will select the output value to be the value in the center of the level. For example, if the input is between -4 and -3, the output will be -3.5. We also need to specify the output values when the input falls above the maximum partition or below the minimum partition. Those correspond to the last and first values of the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 02/27/2010.

Page1 / 5

matlab_tutorial_two - ECE 561 Digital Communications...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online