What is the error when: ''Index exceeds the number of array elements. Index must not exceed 225'' and how to fix it
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
ANA BATRES FERNANDEZ
el 27 de Feb. de 2022
Comentada: ANA BATRES FERNANDEZ
el 27 de Feb. de 2022
The warning appears when I put this code, what should I do?
for i=1:m;
for j=1:n;
T(i,j)=T2(counter2);
counter2=counter2+1;
end
end
2 comentarios
Torsten
el 27 de Feb. de 2022
T2 seems to be an array with 225 elements. You can't exceed this limit.
Respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!