good morning everyone can anyone answer me this question ? i have an error in the matlab code

Attempted to access t_obs (2,1); index out of bounds because size (t_obs) = [1,3].
Has anyone ever encountered a problem like this if yes maybe it can give me the solution
THANKS

 Risposta accettata

Your code is trying to access the value in the 2nd row, 1st column of t_obs. The problem is there is no data there because t_obs only has 1 row (but 3 columns).
Perhaps you meant to access the value in the first row, 2nd column instead?

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by