필터 지우기
필터 지우기

Picking an FFT length

조회 수: 2 (최근 30일)
Alan
Alan 2011년 10월 21일
How could I find the most efficient FFT size greater than N? I know that with fftw "sizes that are products of small factors are transformed most efficiently". I also know that if N=1025, there is going to be a more efficient size than the next power of 2 which is 2048. But in general, what's the best way to find the right size for a given N?
  댓글 수: 1
Sean de Wolski
Sean de Wolski 2011년 10월 21일
As far as time is concerned?
Test it and time it!

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

채택된 답변

Greg Heath
Greg Heath 2011년 10월 21일
Why not just overlay the times vs size plot for
X = fft(randn(N,M))
when M = 1e4 N1 = 2.^(1:10) % blue and N2 = floor(pi.^(1:6)) %red
or, pick your own sizes.
Hope this helps.
Greg

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by