Extracting sub image from a spectrogram

조회 수: 2 (최근 30일)
Ali Al-Saegh
Ali Al-Saegh 2020년 7월 12일
편집: Ali Al-Saegh 2020년 7월 21일
I have a time-series signal related to EEG recording. I would like to apply STFT on the signal then extract sub-image (I think some rows of the resultant matrix) that is related to a specific band, for example 4-14 Hz.
I am using the following code to apply STFT on the 1D signal x with the sampling freq. equal to 250 Hz.
win = hamming(64,'symmetric');
[ShortTFT, freq, tim] = stft(x, 250, 'Window',win, 'OverlapLength',50, 'FFTLength',250, 'Centered',true);
I need to know the first and last elements for the extraction process from the ShortTFT matrix.
Any help is appreciated.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by