From this code:
for n=0:30 for i=0:30 cost=subs(total_cost,{x,y},{n,i}) endend
I need all the values of 'cost' to be stored in a matrix.
Any ideas?
Thanks.
forloopmatrixnestedvector
for n=0:30 for i=0:30 cost=subs(total_cost,{x,y},{n,i}) endend
Best Answer