MATLAB Answers

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

11 views (last 30 days)
No Freed
No Freed on 23 Nov 2019
Commented: No Freed on 23 Nov 2019
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


Sign in to comment.

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)

Sign in to answer this question.