<< Chapter < Page Chapter >> Page >

Fft methods

Self-sorting mixed-radix fft

The mixed-radix approach utilizes clever subsampling of x [ n ] and permutations of twiddle factor matrices to lower operation counts. The first step is to compute the prime factorization of the signal length N . Prime factors of 2 and 3 are then combined to create as many factors of 4 and 6 as possible. The resulting prime factorization has the form N = i = 1 F f i . We can then perform a single step T i of the algorithm by computing N / f i FFTs of length f i .

Four unique matrix constructions are necessary to generalize a single step of the algorithm. The first is the identity matrix I r R r × r . The second is the permutation matrix P b a R a b × a b , where

P b a ( j , k ) = 1 if j = r a + s and k = s b + r 0 otherwise

Note that P b a swaps positions r a + s and s b + r in a vector. The third matrix to consider is a diagonal matrix of twiddle factors D b a R a b × a b , where

D b a ( j , k ) = ω a b s r if j = k = s b + r 0 otherwise

with ω a b = e - j 2 π / ( a b ) . The fourth and final matrix construction to consider is the standard DFT matrix W n R n × n .

The mixed-radix algorithm requires the interaction of operations on the subspaces R i , i = 1 , . . . , F , and so it is necessary to consider the Kronecker Product in calculations. The Kronecker Product is an operation defined as : R m × n × R p × q R m p × n q . If C = A B , then

C ( v , w ) = A ( i , j ) B ( k , l ) and v p ( i - 1 ) + k w q ( j - 1 ) + l

Using these matrices, it possible to compose a single steps T i using the following equation [link] :

T i = ( P q i f i D q i f i I p i - 1 ) ( W f i I m i )

where

p i = j = 1 i f j ( p 0 = 1 ) , i = 0 , . . . , F q i = N / p i , i = 1 , . . . , F m i = N / f i , i = 1 , . . . , F

Note that T i R N × N .

To implement the algorithm, each stage is applied iteratively to acquire X . T i may be simplified into two separate steps using the definitions of each matrix to yield the following algorithm structure:

Mixed Radix

The DFT module in the above code utilizes the Winograd Short-Length Transforms to minimize operations when computing DFTs of length less than 6. For all other lengths, Rader's FFT is used.

Rader's fft

Rader's FFT for prime lengths exploits results from number theory to express the DFT as a composite-length cyclic convolution [link] . Any prime number p defines a multiplicative group modulo p , denoted Z n × = 0 , 1 , 2 , . . . , p - 1 . This group is cyclic, i.e., a Z p × g N p - 2 0 : a = g i = g - j , 0 i , j p - 2 , where g is known as the primitive root modulo p and N p - 2 0 = 0 , 1 , 2 , . . . , p - 2 . In practice, there is no general formula for finding g for p , but in this implementation N is known and therefore g may be stored in a lookup table.

The general form of the DFT of length p is given by

X k = n = 0 p - 1 x n ω p n k = x ˜ + n = 1 p - 1 x n ω p n k , k = 1 , 2 , . . . , p - 1

Since the twiddle factor, ω p n k , is naturally computed modulo p and both n and k range from 1 , 2 , . . . , p - 1 , we can rewrite the above formula using g :

X g - r = x ˜ + q = 0 p - 2 x g q ω p g - ( r - q ) , r = 0 , 1 , . . . , p - 2

This formulation is of the form of a cyclic convolution of two sequences α and β where α q = h g q and β q = ω p g - q of length p - 1 . This convolution is computed via the convolution theorem:

X - x ˜ = DFT - 1 DFT [ α ] · DFT [ β ]

For speed, the sequence α is zero-padded between its zeroth and first index to a length M which is a power of 2 such that M 2 p - 3 and β is cyclically repeated to be length M . Since N is known, it is possible to store the DFT of the sequence β in a lookup table. The DFT of α is then computed using the standard radix-2 Cooley-Tukey algorithm. The two DFTs are multiplied pointwise and then the inverse DFT is again calculated using the standard Cooley-Tukey algorithm. The first p elements are then the result of the cyclic convolution. The final result is attained after adding back the DC offset.

For small numerical examples demonstrating this implementation of Rader's FFT, see this excellent guide here .

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Using ffast to decrease computation time in digital multitone communication. OpenStax CNX. Dec 17, 2014 Download for free at http://legacy.cnx.org/content/col11731/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Using ffast to decrease computation time in digital multitone communication' conversation and receive update notifications?

Ask