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

1 view (last 30 days)
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

Accepted Answer

Cris LaPierre
Cris LaPierre on 23 Nov 2019
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?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!