Azzera filtri
Azzera filtri

in matlab what actually do you mean by the error index exceeds matrix dimensions ?

1 visualizzazione (ultimi 30 giorni)
while implementing matlab program i got this error
index exceeds matrix dimensions
what is the basic meaning of this error ......
are the index dimensions being exceeded

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 29 Nov 2014
Modificato: Azzi Abdelmalek il 29 Nov 2014
For example if you have an array a containing 3 elements
a=[1 2 3]
If you write
a(4)
a does not contain 4 elements, you will get this message
Index exceeds matrix dimensions.

Categorie

Scopri di più su Matrices and Arrays 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!

Translated by