cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Error message: 'This array index is invalid for this array'

EH_10460757
1-Newbie

Error message: 'This array index is invalid for this array'

Hello,

I am reasonably new to using MathCad and I am experiencing an issue when trying to solve the programs on page 7, 8 and 9 of the attached work sheet. I am looking for outputs to the 'Column' 'Lp' and 'Lr' functions for a range of values, i. However, I am being met with the error message 'This array index is invalid for this array'.

Any advice is much appreciated as I am still learning the software.

Thanks in advance

ACCEPTED SOLUTION

Accepted Solutions

Error simply means that you are trying to use an index for a vector that exceeds the maximum index you have defined. You have defined duree to run from 0 to 50. But in the box that is generating the error your index 2*s+1 can go up to 51 if s=25. 

View solution in original post

1 REPLY 1

Error simply means that you are trying to use an index for a vector that exceeds the maximum index you have defined. You have defined duree to run from 0 to 50. But in the box that is generating the error your index 2*s+1 can go up to 51 if s=25. 

Announcements

Top Tags