Docsity

The Discrete Fourier Transform - Lecture Notes | ECE 8231, Exams of Digital Signal Processing

Partial preview of the text

Download The Discrete Fourier Transform - Lecture Notes | ECE 8231 and more Exams Digital Signal Processing in PDF only on Docsity!

Department of

Electrical and Computer Engineering

Yimin Zhang

Department of Electrical & Computer Engineering

Villanova University

ECE

Digital Signal Processing

http://www.ece.villanova.edu/~zhang/ECE8231/

Chapter 8

The Discrete Fourier Transform

(cont.)

Properties of DFT (1)

‰

Note the analogy and difference between the properties of DFTand properties of DFS.

Linearity ‰

If two finite-duration sequences

x

[ 1 n

] and

x

[ 2 n

] are linearly

combined, i.e., ifthen its DFT is

‰

Clearly, when

x

[ 1 n

] has length

N

, and 1

x

[ 2 n

] has length

N

, the 2

maximum length of

x

[ 3 n

] is

N

=max[ 3

N

, 1 N

]. For the above DFT 2

to be meaningful, both DFTs must be computed with the samelength

N

N

[In DFS, two sequences should have the same periods.]

]
[
]
[
]
[^

2

1

3

k

bX

k

aX

k

X

]
[
]
[
]
[^

2

1

3

n

bx

n

ax

n x

5

Properties of DFT (2)

Circular Shift of a Sequence ‰

If

, we want to find

x

[ 1 n

] such that

Since both

x

[ n

] and

x

[ 1 n

] must be zero outside the interval 0

≤

n

≤

N

  • 1,

x

[ 1 n

] cannot result from a simple time shift of

x

[ n

].

‰

The correct result follows directly from the result of DFS and theinterpretation of DFT.

]
[
]
[^

k X

n x

DFT^ ↔
]
[
]
[((
] [ ~ ] [ ~ ]
[((
]
[

) / (^2) (

1

1

1

1

k X e k X k X m n x n x n x

m N k j

N

DFS

N

π − = = ↔ − = =

]
[
]
[
]
[^

) / (^2) (

1

1

k X e k X n x

m N k j

DFT

π − =

]
[((
]
[
]
[((
]
[

N

DFS N^

k X k X n x n x

otherwise

],
[((
] [ ~ ] [ ~ ]
[^

1

1

N n m n x m n x n x n x

N

7

Properties of DFT (4)

Duality ‰

Consider

x

[ n

] and its DFT

X

[ k

]. Let

From the duality property of DFS

‰

If we define the periodic sequence

, one period of

which is the finite-length

x

[ 1 n

] =

X

[ n

], then the DFS coefficients

of

are

. Therefore, the DFT of

x

[ 1 n

] =

X

[ n

]

is

‰

The sequence

Nx

[((–

k ))

N ] is

Nx

[ k

] index reversed, modulo

N

.

]
[((
]
[
]
[((
]
[

N

DFS N^

k X k X n x n x

] [ ~ ] [ ~

k

x N

n X

DFS

]
[
]
[
~^1

n X

n x

]
[
~^1

n x

] [ ~ ] [ ~

1

k

x N

k X

= ^  

otherwise

],
[((
]
[
]
[ 1
N

k

k

Nx

k

x N

k X

N

Properties of DFT (5)

Duality - Example

10

Compare: DFS ‰

If

, then

Properties of DFT (7)

Symmetric Properties (cont.) ‰

If

, then

] [ ~ ] [ ~

k X

n x

DFS^ ↔

] [ ~ ] [ ~

*^

k

X

n x^

DFS

−

↔

] [ ~ ] [ ~

*^

k

X

n

x^

DFS ↔

−

]}
[ ~ ] [ ~ { ] [ ~
]}
[

Re{

1 2

k X k X k X n x

e

DFS

]}
[

Re{

} ] [ ~ ] [ ~ { ] [ ~

1 2

k X n x n x n x

DFS

e^

]}
[ ~ ] [ ~ { ] [ ~
]}
[

Im{

1 2

k X k X k X n x

j^

o

DFS

]}
[

Im{

} ] [ ~ ] [ ~ { ] [ ~

1 2

k X j n x n x n x

DFS

o^

↔ − − = ] [
]}
[

Re{

k

X

n x

ep

DFT^ ↔
]
[
]}
[

Im{

k

X

n x

j^

op

DFT^ ↔
]}
[

Re{

]
[^

k X

n

x

DFT

ep

]}
[

Im{

]
[^

k X

j

n

x

DFT

op

]
[
]
[^

k X

n x

DFT^ ↔

] ))

[((

] [^

N

DFT

k

X

n x

−

↔

] [

] ))

[((

*^

k

X

n

x

DFT N^

↔

−

11

Properties of DFT (8)

Symmetric Properties (cont.) ‰

When

x

[ n

] is real, then

] [ ~ ] [ ~

*^

k

X

k X

]}
[

Re{

]
[

k X

n x

DFS

e^

]}
[

Im{

]
[

k X

j

n x

DFS

o^

]}
[

Re{

]} [ ~

Re{

k

X

k X

]}
[

Im{

]}
[

Im{

k

X

k X

| ] [ ~ | | ] [ ~
|^

k

X

k X

] [ ~ ] [ ~

k

X

k X

Compare: DFS ‰

When

is real, then ] [ ~

n x

]
[((
]
[^

N k

X

k X

]}
[

Re{

]
[^

k X

n

x

DFT

ep

]}
[

Im{

]
[^

k X

j

n

x

DFT

op

]}
[((

Re{

]} [

Re{

N k

X

k X

]}
[((

Im{

]}
[

Im{

N k

X

k X

]
[((
]
[
|^

N k

X

k X

]
[((
]
[^

N k

X

k X

13

Properties of DFT (10)

Circular Convolution (cont.) ‰

For

the

convolution

defined

here,

the

second

sequence

is

circularly time reversed and circularly shifted with respect to thefirst.

For

this

reason,

we

call

this

operation

circular

convolution

, or more specifically,

N-point circular convolution

,

explicitly identifying the fact that both sequences have length

N

(or less) and that the sequences are shifted modulo

N

.

‰

The operation of forming a sequence

x

[ 3 n

] as the

N-

point circular

convolution of

x

[ 1 n

] and

x

[ 2 n

] are denoted as

x^3

[ n

] =

x

[ 1 n

]^

x

[ 2 n

] =

x

[ 2 n

]^

x

[ 1 n

]

‰

In view of the duality of the DFT relations, it is not surprising tosee that

x^1

[ n

] x

[ 2 n

]

]
[
]
[^

2

1

k

X k X

DFT^ ↔ ] [

]
[

2

1

k

X

k X N

DFT^ ↔

Properties of DFT (11)

Circular Convolution- Example [Circular

Convolution with aDelayed Impulse]

]
[
]
[^

0

1

n

n

n x

δ

0

]
[ 1

knN W

k X

]
[
]
[^

2

3

0

k

X

W

k

X

knN

=

Properties of DFT (13)

Circular Convolution- Example [Circular

Convolution of TwoRectangular Impulses](N=2L=12)

LkN^ k N k W W

X

k X

−^ −
]
[
]
[^

2

1

2 2

1

3

] [ ] [ ] [

LkN^ k N W W

k X k X k X

Linear Convolution using DFT (1)

‰

Because efficient algorithms of calculating DFT are available(Chapter

9),

it

is

computationally

efficient

to

implement

a

convolution of two sequences by the following procedure. ‰

Compute

the

N

-point

DFTs

X

[ 1 k ] and

X

[ 2 k ] of the two

sequences

x

[ 1 n

] and

x

[ 2 n

], respectively.

‰

Compute the product

X

[ 3 k ]=

X

[ 1 k ]^

X

[ 2 k ] for 0

≤

n

≤

N

‰

Compute the sequence

x

[ 3 n

] =

x

[ 1 n

]^

x^2

[ n

] as the inverse

DFT of

X

[ 3 k ].

‰

Consider two sequences

x

[ 1 n

] (of length

L

) and

x

[ 2 n

] (of length

P

), then the product

x

[ 1 m

] x

[ 2 n–m

] is zero for all

m

whenever

n

<

and

n

L+P

–2. That is,

x

[n] 3

0 for

0

≤

n

≤

L+P

–2. Therefore,

( L+P

–1) is the maximum length of the sequence obtained from

their linear convolution.

Circular Convolution as

Linear Convolution with Aliasing (1)

‰

We have seen from the previous two examples that, whether acircular convolution is the same as the linear convolution of thecorresponding finite-length sequence depends on the length ofthe DFT in relation to the length of the finite-length sequence.

‰

A very useful interpretation of the relationship between them isin terms of time aliasing.

‰

We have observed that if the Fourier transform

X

( e

j^ ω

) of a

sequence

x [ n

] is sampled at frequencies

ω

=2 k

π

k /

N

, then the

resulting sequence corresponds to the DFS coefficients of theperiodic sequence (

r^

is an integer)

−∞=

r

rN

n x

n x

]
[
]
[

20

Circular Convolution as

Linear Convolution with Aliasing (2)

‰

From our discussion of the DFT, we know thatis the DFT of one period of

; i.e.,

the subscript

p

is used to denote that a sequence is one period of

a periodic sequence resulting from an inverse DFT of a sampledFourier transform.

‰

If

x

[ n

] has length less than or equal to

N

, no time aliasing occurs

and

x

[ p n

] =

x

[ n

]. However, if the length of

x

[ n

] is greater than

N

,

xp

[ n

] may not equal to

x

[ n

] for some or all values of

n

.

otherwise

]
[

) / (^2) (

N k e X k X

N k j

π

]
[

n x

otherwise

],
[
]
[^

N n n x n x

p