Simple array addition question
古いコメントを表示
if I have a matrix [1,2] and I want to add a 3rd element [3] to make [1,2,3]
And what is this simple manipulation called? 2 hours of searching has got me nowhere.
Kind regards
RK
2 件のコメント
@Robert: The operation is called "concatenation". Such questions are exhaustively explained in the "Getting Started" chapter of the documentation. While it is strongly recommended to read them, because Matlab is a very powerful language, the forum is not the right place to learn the very basics. Thanks.
Robert
2012 年 11 月 25 日
採用された回答
その他の回答 (1 件)
Jitesh Kumar
2018 年 9 月 26 日
0 投票
A=[1,2]; A(end+1)=3;
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!