how to solve 'Index exceeds the number of array elements (1)'?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
[MATLAB is showing this error "Index exceeds the number of array elements (1)
0 Commenti
Risposta accettata
Akihumi
il 7 Mag 2020
Your x and y are single value, so it will have error when i==2.
You can make use of 'Pause on Errors' under the drop down menu of Run to analyse what's going wrong with the variables.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!