matlab code to compute the DFT using just O(N (P + Q)) operations, instead of the O(N ^2 ) operations?

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.

답변 (1개)

Just use the fft function. It's almost certainly as good as you'll get.

댓글 수: 2

I want to compute it in the order of N (P + Q) .Where N is the length of signal.Where N can be factored in to N=P*Q.
Yes, fft does factorisation so achieves what you want, and more in fact.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

2014년 9월 9일

댓글:

2014년 9월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by