How to enter characters in cell array ?
5 ビュー (過去 30 日間)
古いコメントを表示
I would like to create a cell array with the following output
A = a_1 a_2 a_3 a_4 ....... a_99
I am trying to use the loop method but it's not working. Can anyone help?
A=[];
for i= 1:99
A = [A, 'a_i']
end
0 件のコメント
採用された回答
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!