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
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 Exchange 中查找有关 Fourier 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