Creating variables with a loop
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!