Error: Index exceeds matrix dimensions.
Mostra commenti meno recenti
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 Commento
the cyclist
il 25 Lug 2013
What is the value of chan itself?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!