Error: Index exceeds matrix dimensions.
显示 更早的评论
So I'm trying to access the column of a matrix called EEG.data that I created: EEG.data(chan,:) and I keep getting: Index exceeds matrix dimensions. However, I am able to access EEG.data(chan) which returns the following:
>>EEG.data(chan)
ans =
126.8809 25.0000
and >>size(EEG.data)
ans =
48 233268
Maybe I'm misunderstanding the use of :, but what exactly is my issue here?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!