How to save data in a vector for each loop indice?
1 view (last 30 days)
I am unable to save the data for each loop entry to a vector, as it gives the error that array indices must be integers. How do I save data in vec for each indice of 'ii'?
for x = ii
sol = x+1;