How can I change an array name within a for loop using the value of the index?
19 views (last 30 days)
Show older comments
Derek Keglovits on 29 Mar 2022
I want the months_i to be read as months_1988, then months_1989, etc because I'm looking at arrays from those ~20 years and am digging into each array with multiple loops underneath. Thank you!
Tala on 29 Mar 2022
for i= 1988:2020
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!