Segmenting EEG data into 1 second segments
古いコメントを表示
I have a EEG timeseries called ts which has a total length of 600 seconds.
Common Properties:
Name: 'unnamed'
Time: [239766x1 double]
TimeInfo: tsdata.timemetadata
Data: [1x1x239766 double]
DataInfo: tsdata.datametadata
I would like to split the data tsout into 1s windows. For instance ts1 has data from 0-1s and ts2 has data from 1-2s and so forth.
This is the code I have used.
for i=1:600
ts{i} = getsampleusingtime(ts,i-1,i)
end
This is the error I have got.
Unable to perform assignment because brace indexing is not supported for variables of this type.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で EEG/MEG/ECoG についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!