필터 지우기
필터 지우기

How to perform STFT? NOT AN AUDIO FILE

조회 수: 2 (최근 30일)
Harshini Gangapuram
Harshini Gangapuram 2019년 3월 24일
댓글: Walter Roberson 2019년 3월 24일
How to perform STFT for EEG data?
All the examples have an audio file. But I dont have audio file and I have to perform STFT.
How to do that?

채택된 답변

Walter Roberson
Walter Roberson 2019년 3월 24일
When you look at those audio examples, you will see that there is a phase of reading the data (such as calling audioreader()), and that once the data is in numeric form, that the example paid no further attention to the fact that the data came from an audio file.
So what you need to do is just whatever technique is appropriate to your eeg data in order to read the data as numeric form. Once you have done that, you can follow the rest of the example on how to do the stft and plot it using spectrogram(). spectrogram() does not care where you got the data.
Note: spectrogram() can only work on one channel of input at a time. It is not uncommon for EEG to be multiple channel.
  댓글 수: 2
Harshini Gangapuram
Harshini Gangapuram 2019년 3월 24일
Thank you for the feedback Walter. Could you please suggest me how can I do that with a .mat file?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by