Accessing Numerical Value of an array in for loop in mupad

1 view (last 30 days)
while coding in mupad, i cannot access the numerical value of array elements, for eg; in for loop, if the code is: s=100*T[K],the result is "100*T[2]" ,but i need 200, when T[2]=2

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!