Clear Filters
Clear Filters

FFT with window and overlap and Fs

42 views (last 30 days)
Dhiren
Dhiren on 29 Aug 2023
Answered: Walter Roberson on 29 Aug 2023
I want FFT to convert a time series data to frequency domain. I would also want to use these arguments such as hann window, overlap and nfft and fs. Please help me with correct syntax for the same. Thank you.
Y = fft(X,n) % does not include hann window, overlap and fs

Answers (1)

Walter Roberson
Walter Roberson on 29 Aug 2023
Any time you talk about windows and overlap, you are no longer talking about FFT. FFT is a particular class of methods of implementing a discrete fourier transform (DFT) and DFT always work on all of the data.
You should instead look at functions such as spectrogram

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!