Choosing window for stft function

20 ビュー (過去 30 日間)
Sparsha Kumari
Sparsha Kumari 2020 年 2 月 6 日
回答済み: Daniel M 2020 年 4 月 24 日
Greetings!
I was wondering which window to use for EEG data analysis using stft function. I have tried using 'blackman', 'hanning' and 'kaiser' windows, but I am not sure which is the most suitable one for EEG data and how to set parameters correctly. Could someone please guide me in this regard?
Thanks

回答 (1 件)

Daniel M
Daniel M 2020 年 4 月 24 日
There is no single correct way of doing this. All windows will have their different spectral leakage profiles, and they're all useful in their own regards. The hann (hanning) window is often recommended for neuroimaging data, but so is rectwin (also known as boxcar), and dpss tapers.
Similarly, we can't tell you the best values for window length, noverlap, nfft, because we don't know the specifics of your data or what you intend to analyze.
I recommend watching this video tutorial for a good breakdown of time-frequency analysis. It uses the fieldtrip toolbox, but you can apply the knowledge towards the spectrogram() function as well.

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by