Load EEG data in MATLAB
Show older comments
Hello,
I want to load my EEG data and have its description like the code below:
load ALLEEG.mat;
% % 91 channels , 2500 timpepoints , 20 subject x 4 conditions = 80 essays
load('-mat','02-2010-anest 20100210 135.003.set')
What should I do?
To make it clear
This is my data:
I have 1*14 cell matrix, in each cell I have a double matrix, how can I make it a single matrix a*b*c (like the sample I will attach its image in the second and third image)

The sample that I have and want to make my data like this and have description of my data:


Thanks in advance for your help.
Neda
3 Comments
Image Analyst
on 16 Jan 2023
If you have any more questions, then attach your data ('02-2010-anest 20100210 135.003.set', zipped up into a zip file or else put it into a .mat file) and code to read it in with the paperclip icon after you read this:
Jose
on 26 Jun 2023
very interesting
Charles
on 11 Sep 2023
It looks like this is from this tutorial: https://www.mathworks.com/matlabcentral/fileexchange/74089-a-simple-tutorial-to-start-with-functional-networks
But when I try to run that first line of code I get the error "unable to find file or directory ALLEEG.mat"
Where is that file supposed to be?
Thanks.
Accepted Answer
More Answers (1)
MFK
on 16 Jan 2023
for i=1:14
single_matrix(:,:,i)=output_cell{1,i};
end
2 Comments
Neda Deljavan
on 16 Jan 2023
Edited: Neda Deljavan
on 16 Jan 2023
MFK
on 18 Jan 2023
Then Walter's answer is more suitable for you.
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!