naming of a variable
Ältere Kommentare anzeigen
how can i have a variable name to be as name1 name2 name3 upto namen. i can't use array for this. i want something like for i = 1:1:n namei = "something"; end
1 Kommentar
Stephen23
am 26 Jul. 2016
"i can't use array for this"
Why not ?
Antworten (1)
Guillaume
am 26 Jul. 2016
0 Stimmen
" i can't use array for this."
There is absolutely zero upside and lots of downside in having sequential variable names. They're obviously related, so they should be grouped together in a container.
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!