Last active
December 19, 2015 09:29
-
-
Save pellekrogholt/5933002 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% NB! look up the channels in the label of the header | |
% niecetohave: map the over the label and recorddata in a better | |
% way for now we stick to the above: | |
AF3 = recorddata(3,:); % ch1 | |
F7 = recorddata(4,:); % ch2 | |
F3 = recorddata(5,:); % ch3 | |
FC5 = recorddata(6,:); % ch4 | |
T7 = recorddata(7,:); % ch5 | |
P7 = recorddata(8,:); % ch6 | |
O1 = recorddata(9,:); % ch7 | |
O2 = recorddata(10,:); % ch8 | |
P8 = recorddata(11,:); % ch9 | |
T8 = recorddata(12,:); % ch10 | |
FC6 = recorddata(13,:); % ch11 | |
F4 = recorddata(14,:); % ch12 | |
F8 = recorddata(15,:); % ch13 | |
AF4 = recorddata(16,:); % ch14 | |
% save data to file - but ensure its the project dir not the epoc dir | |
% project_path = current_dir; | |
output_file_name = strcat(project_dir, '/', edf_file_name, '.mat'); | |
save(output_file_name, 'recorddata', 'AF3', 'F7', 'F3', 'FC5', 'T7', 'P7', 'O1', 'O2', 'P8', 'T8', 'FC6', 'F4', 'F8', 'AF4') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment