Recieving error Index exceeds the number of array elements (93) when attempting to useODE45?
Afficher commentaires plus anciens

I get only 93 elements in the t matrix and i have to find the 350th one.

I need the 350th element in the entire matrix so i need the 35th column on the 4th row element. That is my number. how should I write it so i wont get any errors?
How should I write this Code: ??


1 commentaire
Stephen23
le 17 Jan 2019
@Nuber Claudiu: it sounds like you might be confusing the independent variable with indices. If t only has 93 elements, what do you expect its 350th (non-existent) element to be?
I suspect that you actually need to be looking at values, not indices. But as you have not explained anything about t or 350 and what they represent and what you are trying to achieve, this is all just guesswork.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!