for loop index picking only elements of given vector
4 views (last 30 days)
I am trying to see the loop index j only picking the element of given vector V.
for example for index j can pick value 1, 4, 8, 11 and so on.
Expecting your help.
syms x t
V=[1 4 8 11 15 18 22];
for j= .....%it needs to pick only elements of above vector V