Docsity

DSP notes Unit-2 with examples, Lecture notes of Digital Signal Processing

Partial preview of the text

Download DSP notes Unit-2 with examples and more Lecture notes Digital Signal Processing in PDF only on Docsity!

BHARATI VIDYAPEETH COLLEGE OF ENGINEERING, PUNE

DEPARTMENT OF ELECTRONICS ENGINEERING

SUB: DIGITAL SIGNAL PROCESSING

๐€

๐€

BHARATI VIDYAPEETH COLLEGE OF ENGINEERING, PUNE

DEPARTMENT OF ELECTRONICS ENGINEERING

SUB: DIGITAL SIGNAL PROCESSING

EXPERIMENT No. - 02

Aim : - To study the DITFFT using MATLAB.

Apparatus : - Language software MATLAB

THEORY;

Decimation โ€“ In โ€“ Time (DIT) FFT algorithm

In this algorithm, the time โ€“ domain sequence x[n] is decimated into two

๐‘

  • point sequences, one composed

2

of even โ€“ indexed values of x[n], and other composed of odd โ€“ indexed values of x[n].i.e.,

[

]

[

]

๐‘Ž๐‘›๐‘‘, โ„Ž[๐‘›] = ๐‘ฅ[2๐‘› + 1 ].....๐‘’๐‘ž๐‘›. 2

The N โ€“ point DFT of x[n] is given by

๐‘โˆ’

๐‘‹(๐‘˜) = โˆ‘ ๐‘ฅ[๐‘›]๐‘Š

๐‘›๐‘˜

This can be rewritten as

๐‘›=

๐‘โˆ’1 ๐‘โˆ’

๐‘‹

( ๐‘˜

) = โˆ‘ ๐‘ฅ[๐‘›]๐‘Š

๐‘›๐‘˜

+ โˆ‘ ๐‘ฅ[๐‘›]๐‘Š

๐‘›๐‘˜

๐‘

โˆ’

1 2

๐‘›=0,๐‘’๐‘ฃ

๐‘’๐‘›

๐‘

๐‘

โˆ’

1 2

๐‘

๐‘›=0,๐‘œ๐‘‘๐‘‘

= โˆ‘ ๐‘ฅ[2๐‘›]๐‘Š

2๐‘›๐‘˜

+ โˆ‘ ๐‘ฅ[2๐‘› + 1]๐‘Š

(2๐‘›+1)๐‘˜

๐‘›=

0

๐‘

โˆ’

1 2

๐€

๐€

๐‘›=

0

๐‘

๐‘

โˆ’

1 2

= โˆ‘ ๐‘ฅ[2๐‘›]๐‘Š

2๐‘›๐‘˜

๐‘˜

โˆ‘ ๐‘ฅ[2๐‘› + 1]๐‘Š

2๐‘›๐‘˜

๐‘›=

๐‘

๐‘

๐‘

๐‘›=

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

๐€

And using the symmetry property of the twiddle factor, W N

, and equations4 & 5

๐‘˜

Equations 3 and 6 result in the following butterfly diagram

For example, for N = 8, the DFT points in terms of G and H are

0

1

2

3

For the remaining 4 points X(4) to X(7), we use equations 4, 5, 6 and 7 to get

0

1

2

3

The butterfly diagram for the above set of equations is

2

2

The above process is repeated for calculating the N/2 point DFTs of g[n] and h[n], and this is continued till

we get two point DFTs. Once we reach a two โ€“ point sequence, say p[n]={p[0], p[1]}, its 2 โ€“ point DFT

would be

1

๐‘ƒ(๐‘˜) = โˆ‘ ๐‘[๐‘›]๐‘Š

๐‘›๐‘˜

๐‘›=

๐‘œ๐‘Ÿ, ๐‘ƒ(๐‘˜) = ๐‘[ 0 ] + ๐‘[ 1 ]๐‘Š

๐‘˜

[

]

[

]

[

]

2

[

]

[

]

โˆ’ ๐‘[1]

The overall butterfly diagram for DIT FFT algorithm for N =8 is