02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

478 Chapter 9 SAMPLING RATE CONVERSION<br />

FIGURE 9.3<br />

x(n)<br />

↓ D<br />

Rate F x<br />

A downsampling element<br />

y(m)<br />

Rate F y = F x<br />

D<br />

previously. In fact, we can show that a system containing a downsampling<br />

element is shift varying. However, this fact does not prohibit the<br />

frequency-domain analysis of y(m) interms of x(n) asweshall see later.<br />

□ EXAMPLE 9.1 Using D =2and x(n) ={1, 2, 3, 4, 3, 2, 1} verify that the downsampler is time<br />

↑<br />

varying.<br />

Solution The downsampled signal is y(m) ={1, 3, 3, 1}. Ifwenow delay x(n) byone<br />

↑<br />

, 1, 2, 3, 4, 3, 2, 1}. The corresponding downsampled<br />

sample, we get x(n − 1) = {0<br />

↑<br />

signal is y 1(m) ={0<br />

↑<br />

, 2, 4, 2}, which is different from y(m − 1). □<br />

MATLAB Implementation MATLAB provides the function [y] =<br />

downsample(x,D) that downsamples input array x into output array y<br />

by keeping every D-th sample starting with the first sample. An optional<br />

third parameter “phase” specifies the sample offset which must be an<br />

integer between 0 and (D-1). For example,<br />

>> x = [1,2,3,4,3,2,1]; y = downsample(x,2)<br />

y =<br />

1 3 3 1<br />

downsamples by a factor of 2 starting with the first sample. However,<br />

>> x = [1,2,3,4,3,2,1]; y = downsample(x,2,1)<br />

y =<br />

2 4 2<br />

produces an entirely different sequence by downsampling, starting with<br />

the second sample (i.e., offset by 1).<br />

The frequency-domain representation of the downsampled signal<br />

y(m) We now express Y (ω) interms of X(ω) using z-transform<br />

relations. Toward this we introduce a high-rate sequence ¯x(n), which is<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!