what is NFFT and where it is used in matlab code

129 ビュー (過去 30 日間)
Anuja Patil
Anuja Patil 2017 年 2 月 10 日
コメント済み: Walter Roberson 2021 年 6 月 21 日
NFFT

回答 (2 件)

Star Strider
Star Strider 2017 年 2 月 10 日
Another explanation for ‘NFFT’ in the documentation for the fft (link) function is that it is the length of the signal you want to calculate the Fourier transform of. (It zero-pads the time-domain vector before calculating the transform.) Because of the nature of the fft algorithm, this is usually 2^n, where ‘n’ is any integer, because it makes the algorithm more efficient. It also increases the frequency resolution of the resulting fft, generally considered to be preferable.
Using the ‘NFFT’ argument is especially helpful if you are comparing the fft of different signals of slightly different lengths and want all of them to have the same frequency resolution. Setting ‘NFFT’ to be the same for all the signals allows you to compare them directly at each frequency.
  3 件のコメント
Cutie
Cutie 2021 年 6 月 21 日
But, is NFFT th length or window size of the FFT? I need clarification on this please.
Walter Roberson
Walter Roberson 2021 年 6 月 21 日
Transform length, specified as [] or a nonnegative integer scalar. Specifying a positive integer scalar for the transform length can increase the performance of fft. The length is typically specified as a power of 2 or a value that can be factored into a product of small prime numbers. If n is less than the length of the signal, then fft ignores the remaining signal values past the nth entry and returns the truncated result. If n is 0, then fft returns an empty matrix.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 2 月 10 日
NFFT is one of the abbreviations used for Non-Uniform Fast Fourier Transform. Mathworks does not supply code for it. You can find one implementation at https://www.mathworks.com/matlabcentral/fileexchange/25135-nufft--nfft--usfft

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by