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.

206 Chapter 5 THE DISCRETE FOURIER TRANSFORM<br />

P5.22 A 512-point DFT X(k) ofareal-valued sequence x(n) has the following DFT values:<br />

X(0)=20+jα; X(5)=20+j30; X(k 1)=−10 + j15; X(152) = 17 + j23;<br />

X(k 2)=20− j30; X(k 3)=17− j23; X(480) = −10 − j15; X(256) = 30 + jβ<br />

and all other values are known to be zero.<br />

1. Determine the real-valued coefficients α and β.<br />

2. Determine the values of the integers k 1, k 2, and k 3.<br />

3. Determine the energy of the signal x(n).<br />

4. Express the sequence x(n) inaclosed form.<br />

P5.23 Let x(n) beafinite length sequence given by<br />

x(n) =<br />

{<br />

...,0, 0, 0, 1, 2, −3, 4, −5, 0,...<br />

↑<br />

Determine and sketch the sequence x((−8 − n)) 7R 7 (n) where<br />

R 7 (n) =<br />

{<br />

1, 0 ≤ n ≤ 6<br />

0, elsewhere<br />

P5.24 The circonvt function developed in this chapter implements the circular convolution as a<br />

matrix-vector multiplication. The matrix corresponding to the circular shifts {x((n − m)) N ;<br />

0 ≤ n ≤ N − 1} has an interesting structure. This matrix is called a circulant matrix, which<br />

is a special case of Toeplitz matrix introduced in Chapter 2.<br />

1. Consider the sequences given in Example 5.13. Express x 1(n) asacolumn vector x 1 and<br />

x 2((n − m)) N as a circulant matrix X 2 with rows corresponding to n =0, 1, 2, 3.<br />

Characterize this matrix X 2. Can it completely be described by its first row (or column)?<br />

2. Determine the circular convolution as X 2x 1 and verify your calculations.<br />

P5.25 Develop a MATLAB function to construct a circulant matrix C given an N-point sequence<br />

x(n). Use the toeplitz function to implement matrix C. Your subroutine function should<br />

have the following format:<br />

}<br />

function [C] = circulnt(x,N)<br />

% Circulant Matrix from an N-point sequence<br />

% [C] = circulnt(x,N)<br />

% C = circulant matrix of size NxN<br />

% x = sequence of length

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

Saved successfully!

Ooh no, something went wrong!