Creating variables with a loop
Mostra commenti meno recenti
Hi,
I'm trying to do something like this, but it obviously doesn't work. Any suggestions?
for i 1:5
partialmatrix_i (1,whatever) = hugematrix(1,whatever*i)
end
output:
partialmatrix_1
partialmatrix_2
partialmatrix_3
partialmatrix_4
partialmatrix_5
Risposta accettata
Più risposte (1)
Guy
il 26 Mar 2013
0 voti
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!