matlab code to compute the DFT using just O(N (P + Q)) operations, instead of the O(N ^2 ) operations?
Afficher commentaires plus anciens
Suppose that the signal length N can be factored as N = P Q where P; Q > 1.write a script that can compute the DFT using just O(N (P + Q)) operations, instead of theO(N^2) operations required for the direct implementation.
Réponses (1)
David Young
le 9 Sep 2014
0 votes
Just use the fft function. It's almost certainly as good as you'll get.
2 commentaires
TONY gracious
le 9 Sep 2014
David Young
le 9 Sep 2014
Yes, fft does factorisation so achieves what you want, and more in fact.
Catégories
En savoir plus sur Discrete Fourier and Cosine Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!