Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Kelec
1 year ago

The vector d has only 6 entries your I begins with the value 300

d(I) is therefore actually d(300) and you can logically not read the entry 300 from a vector with 6 entries.

The same applies to T(j) where an index which is a double is not meaningful here.