Borrar filtros
Borrar filtros

How to efficiently implement algorithm similar to FFT?

1 visualización (últimos 30 días)
John
John el 9 de Mzo. de 2013
I am implementing an algorithm similar to FFT. The only difference is that I'm using my own custom twiddle factors for the butterfly operation to combine smaller DFTs into larger DFTs which is implemented through multiplication of matrices.
However, I am not getting the same performance as the regular FFT built in function. Is it a function of how I'm writing my code?
  3 comentarios
Matt J
Matt J el 9 de Mzo. de 2013
Editada: Matt J el 9 de Mzo. de 2013
The builtin FFT is also probably multi-threaded, whereas yours would not be.
John
John el 9 de Mzo. de 2013
I am trying to compare computational complexity between my algorithm and Matlab's algorithm. Despite the fact that Matlab's algorithm is much faster, the complexities appear the same. For example, for increasing sizes, they both have a computational complexity of O(n log n)

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 9 de Mzo. de 2013
Editada: Matt J el 9 de Mzo. de 2013
If you write your customized butterfly operations as sparse matrix multiplications (see the SPARSE command), you might be able to get the benefit of multi-threading, similar to the FFT command.

Más respuestas (0)

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by