Indexing or appending numerical variables
Show older comments
I have many matrix variables like G1, G2... I want to create a loop that new variables chance their name. For example,
for i=1:32 in first step when i=1 >> M=G1 second step when i=2 >> M=G2 ... and so on.
How can I make "i" recognizable for G matrices?
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing 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!