Error: Index exceeds matrix dimensions.
Mostrar comentarios más antiguos
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?
1 comentario
the cyclist
el 25 de Jul. de 2013
What is the value of chan itself?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!