<< Chapter < Page Chapter >> Page >
Efficient computation of convolution using FFTs.

Fast circular convolution

Since, m 0 N 1 x m h n m N y n is equivalent to Y k X k H k y n can be computed as y n IDFT DFT x n DFT h n

    Cost

    • Direct

    • N 2 complex multiplies.
    • N N 1 complex adds.
    • Via ffts

    • 3 FFTs + N multipies.
    • N 3 N 2 2 logbase --> N complex multiplies.
    • 3 N 2 logbase --> N complex adds.
If H k can be precomputed, cost is only 2 FFts + N multiplies.

Fast linear convolution

DFT produces cicular convolution. For linear convolution, we must zero-pad sequences so that circular wrap-around alwayswraps over zeros.

To achieve linear convolution using fast circular convolution, we must use zero-padded DFTs of length N L M 1

Choose shortest convenient N (usually smallest power-of-two greater than or equal to L M 1 ) y n IDFT N DFT N x n DFT N h n

There is some inefficiency when compared to circular convolution due to longer zero-padded DFTs . Still, O N 2 logbase --> N savings over direct computation.

Running convolution

Suppose L , as in a real time filter application, or L M . There are efficient block methods for computing fast convolution.

Overlap-save (ols) method

Note that if a length- M filter h n is circularly convulved with a length- N segment of a signal x n ,

the first M 1 samples are wrapped around and thus is incorrect . However, for M 1 n N 1 ,the convolution is linear convolution, so these samples are correct. Thus N M 1 good outputs are produced for each length- N circular convolution.

The Overlap-Save Method: Break long signal into successive blocks of N samples, each block overlapping the previous block by M 1 samples. Perform circular convolution of each block with filter h m . Discard first M 1 points in each output block, and concatenate the remaining points to create y n .

Computation cost for a length- N equals 2 n FFT per output sample is (assuming precomputed H k ) 2 FFTs and N multiplies 2 N 2 2 logbase --> N N N M 1 N 2 logbase --> N 1 N M 1 complex multiplies 2 N 2 logbase --> N N M 1 2 N 2 logbase --> N N M 1 complex adds

Compare to M mults, M 1 adds per output point for direct method. For a given M , optimal N can be determined by finding N minimizing operation counts. Usualy, optimal N is 4 M N opt 8 M .

Overlap-add (ola) method

Zero-pad length- L blocks by M 1 samples.

Add successive blocks, overlapped by M 1 samples, so that the tails sum to produce the complete linear convolution.

Computational Cost: Two length N L M 1 FFTs and M mults and M 1 adds per L output points; essentially the sames as OLS method.

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
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, The dft, fft, and practical spectral analysis. OpenStax CNX. Feb 22, 2007 Download for free at http://cnx.org/content/col10281/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The dft, fft, and practical spectral analysis' conversation and receive update notifications?

Ask