fft window
25 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Wayne King
on 1 Apr 2012
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);
0 Comments
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!