Cell array for indexing
显示 更早的评论
Hello
I want to store 38 channels EEG data in a cell array
my code is working with one channel only hoe can i save my 38 cahnnels data in 38 rows of cells array
a=data.signal(:,:); a=a'; % 38 channels EEG signals
x=1;
y=3;
for k=1:1:(length(new_positions)/3)
new_signal{k}=a(new_positions(x):new_positions(y),1) % new_position is indexing matrix
x=x+3;
y=y+3;
end
its only returing 86x1 cell array instead i need 86x38 cell array
采纳的回答
更多回答(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!