Extracting epochs from an edf file to save as .m file?

25 views (last 30 days)
Hey, newbie to coding and all of that. I'm trying to extract 10 random epochs that are 20 seconds each from my EEG recording (.edf file). I want to be able to save these epochs as a .m file. I'm trying to do this without having to use the EEGLAB GUI. I used edfread and it seems that the data within the edf file is a timetable with a size of 5282 x 1.
Any help on how to do this would be greatly appreciated.

Answers (0)

Community Treasure Hunt

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

Start Hunting!