필터 지우기
필터 지우기

which columns of the .csv eeg file do I have to use to import it into EEGLAB?

조회 수: 29 (최근 30일)
Faruk Alioglu
Faruk Alioglu 2023년 11월 30일
편집: Faruk Alioglu 2023년 11월 30일
Hi everyone, I have saved my EEG data as a .csv file. The structure of the file can be seen in the Image, so I basically have a problem with the information within the columns. Is it correct if I extract the column with the time values and the columns with the data of the EEG channels and leave the column with the epochs? And I had problems with importing the .csv file in EEGLAB, so I saved the .csv file as a .mat file as you can see in the code below. I would really appreciate your help.
EEG = readtable('motor-imagery-1-[2023.11.23-15.14.58].csv');
EEG_nurKanaele = EEG(:,[1, 3:10]); % here the column with the time values and the columns with the EEG channels are extracted
EEG_matrix = table2array(EEG_nurKanaele); % Convert the table into a matrix
save('EEGDaten.mat', 'EEG_matrix'); % Save the matrix as a .mat file
  댓글 수: 1
Taylor
Taylor 2023년 11월 30일
This question is probably better suited to the EEGLAB forum since it deals with specific usage of that tool, not just MATLAB in general.

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

답변 (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