Borrar filtros
Borrar filtros

how to solve Index must not exceed 300

2 visualizaciones (últimos 30 días)
kushal suresh kumar
kushal suresh kumar el 14 de Nov. de 2021
Respondida: Dave B el 14 de Nov. de 2021

Respuestas (1)

Dave B
Dave B el 14 de Nov. de 2021
If you refer to the 301st item in a list of 300 things, MATLAB will error
At least one of the variables in your equation contains 300 values and i is greater than 300.
Your options are:
  • don't let i get larget than 300
  • make the variable contain more than 300 items

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by