Skip to content Skip to navigation

Connexions

You are here: Home » Content » Multidimensional Index Maps

Navigation

Recently Viewed

This feature requires Javascript to be enabled.

Multidimensional Index Maps

Module by: Douglas L. Jones. E-mail the author

User rating (How does the rating system work?)
Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

:
(0 ratings)

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Multidimensional Index Maps for DIF and DIT algorithms

Decimation-in-time algorithm

Radix-2 DIT: Xk=n=0N1xn W N n k =n=0N21x2n W N 2 n k +n=0N21x2n+1 W N ( 2 n + 1 ) k X k n N 1 0 x n W N n k n N 2 1 0 x 2 n W N 2 n k n N 2 1 0 x 2 n 1 W N ( 2 n + 1 ) k Formalization: Let n= n 1 +2 n 2 n n 1 2 n 2 : n 1 =01 n 1 0 1 : n 2 =012N21 n 2 0 1 2 N 2 1 Xk=n=0N1xn W N n k = n 1 =01 n 2 =0N21x n 1 +2 n 2 W N ( n 1 + 2 n 2 ) k X k n N 1 0 x n W N n k n 1 1 0 n 2 N 2 1 0 x n 1 2 n 2 W N ( n 1 + 2 n 2 ) k Also, let k=N2 k 1 + k 2 k N 2 k 1 k 2 : k 1 =01 k 1 0 1 : k 2 =012N21 k 2 0 1 2 N 2 1

Note:

As long as there is a one-to-one correspondence between the original indices nk=012N1 n k 0 1 2 N 1 and the nn, kk generated by the index map, the computation is the same; only the order in which the sums are done is changed.
Rewriting the DFT formula in terms of index map n= n 1 +2 n 2 n n 1 2 n 2 , k=N2 k 1 + k 2 k N 2 k 1 k 2 :

Xk=XN2 k 1 + k 2 =n=0N1xn W N n ( N 2 k 2 + k 2 ) = n 1 =01 n 2 =0N21x n 1 +2 n 2 W N ( n 1 + n 2 ) ( N 2 k 1 + k 2 = n 1 =01 n 2 =0N21x n 1 n 2 W N N 2 n 1 k 2 W N n 1 k 2 W N N n 2 k 1 W N 2 n 2 k 2 = n 1 =01 n 2 =0N21x n 1 n 2 W 2 n 1 k 2 W N n 1 k 2 1 W N 2 n 2 k 2 = n 1 =01 W 2 n 1 k 2 W N n 1 k 2 n 2 =0N21x n 1 n 2 W N 2 n 2 k 2 X k X N 2 k 1 k 2 n N 1 0 x n W N n ( N 2 k 2 + k 2 ) n 1 1 0 n 2 N 2 1 0 x n 1 2 n 2 W N ( n 1 + n 2 ) ( N 2 k 1 + k 2 n 1 1 0 n 2 N 2 1 0 x n 1 n 2 W N N 2 n 1 k 2 W N n 1 k 2 W N N n 2 k 1 W N 2 n 2 k 2 n 1 1 0 n 2 N 2 1 0 x n 1 n 2 W 2 n 1 k 2 W N n 1 k 2 1 W N 2 n 2 k 2 n 1 1 0 W 2 n 1 k 2 W N n 1 k 2 n 2 N 2 1 0 x n 1 n 2 W N 2 n 2 k 2 (1)

Note:

Key to FFT is choosing index map so that one of the cross-terms disappears!

Exercise 1

What is an index map for a radix-4 DIT algorithm?

Exercise 2

What is an index map for a radix-4 DIF algortihm?

Exercise 3

What is an index map for a radix-3 DIT algorithm? (NN a multiple of 3)

For arbitrary composite N= N 1 N 2 N N 1 N 2 , we can define an index map n= n 1 + N 1 n 2 n n 1 N 1 n 2 k= N 2 k 1 + k 2 k N 2 k 1 k 2 n 1 =012 N 1 1 n 1 0 1 2 N 1 1 k 1 =012 N 1 1 k 1 0 1 2 N 1 1 n 2 =012 N 2 1 n 2 0 1 2 N 2 1 k 2 =012 N 2 1 k 2 0 1 2 N 2 1

Xk=X k 1 k 2 = n 1 =0 N 1 1 n 2 =0 N 2 1x n 1 n 2 W N N 2 n 1 k 1 W N n 1 k 2 W N N k 1 n 2 W N N 1 n 2 k 2 = n 1 =0 N 1 1 n 2 =0 N 2 1x n 1 n 2 W N 1 n 1 k 1 W N n 1 k 2 1 W N 2 n 2 k 2 = DFT n 1 , N 1 W N n 1 k 2 DFT n 2 , N 2 x n 1 n 2 X k X k 1 k 2 n 1 N 1 1 0 n 2 N 2 1 0 x n 1 n 2 W N N 2 n 1 k 1 W N n 1 k 2 W N N k 1 n 2 W N N 1 n 2 k 2 n 1 N 1 1 0 n 2 N 2 1 0 x n 1 n 2 W N 1 n 1 k 1 W N n 1 k 2 1 W N 2 n 2 k 2 DFT n 1 , N 1 W N n 1 k 2 DFT n 2 , N 2 x n 1 n 2 (2)

Computational cost in multipliesl "Common Factor Algorithm (CFA)"

  • N 1 N 1 length- N 2 N 2 DFTs ⇒ N 1 N 2 2 N 1 N 2 2
  • N N twiddle factors ⇒ N N
  • N 2 N 2 length- N 1 N 1 DFTs ⇒ N 2 N 1 2 N 2 N 1 2
  • Total: N 1 N 2 2+ N 1 N 2 + N 2 N 1 2=N N 1 + N 2 +1 N 1 N 2 2 N 1 N 2 N 2 N 1 2 N N 1 N 2 1

"Direct": N2=N N 1 N 2 N 2 N N 1 N 2

Example 1

N 1 =16 N 1 16 N 2 =15 N 2 15 N=240 N 240 direct=2402=57600 direct 240 2 57600 CFA=7680 CFA 7680 Tremendous saving for any composite NN

Figure 1: n= n 1 +5 n 2 n n 1 5 n 2 , k=3 k 1 + k 2 k 3 k 1 k 2
Pictorial Representations
Emphasizes Multi-dimensional structure
(a)
Emphasizes Multi-dimensional structure (image1.png)
Emphasizes computer memory organization
(b)
Emphasizes computer memory organization (image2.png)
Easy to draw
(c)
Easy to draw (image3.png)

Exercise 4

Can the composite CFAs be implemented in-place?

Exercise 5

What do we do with N= N 1 N 2 N 3 N N 1 N 2 N 3 ?

Content actions

Give Feedback:

E-mail the module author | Rate module ( How does the rating system work?)

Rating system

Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

(0 ratings)

Download:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.

| A lens (?)

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks