필터 지우기
필터 지우기

time-frequency spectrum of event related potentials

조회 수: 2 (최근 30일)
kubyk
kubyk 2014년 7월 7일
댓글: kubyk 2014년 7월 7일
Hi,
I am working with auditory evoked potentials (EEG). I have 100 trials. I can make time-frequency spectrum of averaged signal (from 100 trials) with using software e. g. EEGLAB.
But I would like make time-frequency spectrum of each trial and after that create average spectrum. I can create FOR loop, where each step makes time-frequency spec. from one trial. Then I have 100 T-F Spec. But I don't know how to 'piece together' individual trial spectrums to gain averaged spectrum.
Is it at all possible ? Some basic idea ? many thanks
  댓글 수: 2
Daniel kiracofe
Daniel kiracofe 2014년 7월 7일
How are you making the individual time-frequency spectrums? spectrogram? If so, you just need a loop like
for i=1:100
[S(i,:,:),F,T] = spectrogram(...)
end
AvgS = mean(S, 1);
Does this answer the question?
kubyk
kubyk 2014년 7월 7일
For individual t-f spec. I used matlab toolbox LTFAT. It has function scgram, similar to spectrogram in Matlab.
I solved my problem yet (not elegant at all) but I will try it with your advice one more time.

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

답변 (1개)

Star Strider
Star Strider 2014년 7월 7일
I would not use the time-frequency spectra for each trial to calculate the average spectrum for the trial. I would simply take the fft of the entire signal for each trial and use that as the average.
  댓글 수: 1
kubyk
kubyk 2014년 7월 7일
I need know something about changing frequencies in time, therefore I think t-f spectrum is good for that problem.

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

카테고리

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