fft window

hi, the fft can be calculated with sevral windows (the step function,gaousian ext.) how can i choose what window the program uses in order to calculate the fft? is it the same for ifft as well? thank you.

回答 (1 件)

Wayne King
Wayne King 2012 年 4 月 1 日

1 投票

You cannot choose it inside of fft(). What you do is multipy the data by the window before you use fft()
x = randn(1e3,1);
x = x.*hamming(1e3);
xdft = fft(x);

カテゴリ

ヘルプ センター および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

質問済み:

a
a
2012 年 4 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by