How to split EEG signal into different chunks?

1 回表示 (過去 30 日間)
Biomedical
Biomedical 2013 年 7 月 31 日
Total Number of samples 9600
want to split into four equal parts

採用された回答

Image Analyst
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 件のコメント
Biomedical
Biomedical 2013 年 8 月 1 日
編集済み: Biomedical 2013 年 8 月 1 日
Thanks for this but mat file structure is 65X9600 so i want to split it into 65*2400 ,65*2400 ,65*2400 and 65*2400 as part 1 part 2 part 3 and part4 ..
Kindly, help me out.

サインインしてコメントする。

その他の回答 (1 件)

Wayne King
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.

カテゴリ

Help Center および File ExchangeHilbert and Walsh-Hadamard Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by