Add multiple elements to array
古いコメントを表示
Hi,
Is there possible to add more than one element to an array at the same time?Like in this array:
x=[];
x=[x,3];%and I want to add a number of 100 3 in x
5 件のコメント
Torsten
2021 年 5 月 30 日
You mean x = [x,[100,3]];
?
Sferle Alin-Tudor
2021 年 5 月 30 日
編集済み: Sferle Alin-Tudor
2021 年 5 月 30 日
Torsten
2021 年 5 月 30 日
x = [x,3*ones(1,100)];
Sferle Alin-Tudor
2021 年 9 月 21 日
David Horton
2021 年 12 月 23 日
Thanks!!!!!!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!