creating variables with a for loop
7 ビュー (過去 30 日間)
古いコメントを表示
I have a table of data, in the first column there are a bunch of names. Trying to make a for loop that pulls the name from the table and create variables named after the names pulled from the table.
2 件のコメント
回答 (1 件)
Steven Lord
2021 年 9 月 4 日
Can you define variables with numbered names like X1, X2, X3, ... or whose names are given by a list of strings? Yes.
0 件のコメント
参考
カテゴリ
Help Center および 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!