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.

Réponses (1)

Wayne King
Wayne King le 1 Avr 2012

1 vote

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);

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Centre d'aide et File Exchange

Tags

Question posée :

a
a
le 1 Avr 2012

Community Treasure Hunt

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

Start Hunting!

Translated by