How can I apply a FFT moving window ?
Afficher commentaires plus anciens
hello,
i have a signal (x) as a vector (1*1799), the sampling frequency Fs=30 and Ns=1799
how can I apply a FFT mobile window on 100 samples each time along the signal
thank you
Réponses (1)
Walter Roberson
le 2 Déc 2018
0 votes
buffer() and fft()
see also spectrogram()
6 commentaires
djamaleddine djeldjli
le 2 Déc 2018
Walter Roberson
le 3 Déc 2018
fft(buffer(TheSignal,100))
djamaleddine djeldjli
le 3 Déc 2018
Walter Roberson
le 3 Déc 2018
when you do the moving window fft how many samples at aa time do you move the window ahead by ..? If you had 200 samples would that be 2 windows of 100 samples each or would it be a window 1:100 a second 2:101, so on to 101:200 for aa total of 101 windows processed ?
Anyway you still fft(buffer ). you just adjust the overlap parameter to buffer. you search the max for each column. Somehow you use the information for your passband filtering though I cannot think why you would be interested in the max.
djamaleddine djeldjli
le 5 Déc 2018
Walter Roberson
le 5 Déc 2018
buffer is still the solution .
Catégories
En savoir plus sur Fourier Analysis and Filtering dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!