How to split EEG signal into different chunks?
6 次查看(过去 30 天)
显示 更早的评论
Total Number of samples 9600
want to split into four equal parts
0 个评论
采纳的回答
Image Analyst
2013-7-31
Or if you want 4 1-D arrays:
part1 = eegSignal(1:2400);
part2 = eegSignal(2401:4800);
part3 = eegSignal(4801:7200);
part4 = eegSignal(7201:end);
更多回答(1 个)
Wayne King
2013-7-31
x = randn(9600,1);
len = 9600/4;
x1 = reshape(x,len,4);
x1 is a matrix with 4 columns, each one is 9600/4 samples in length.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Generation and Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!