Adding array to the end of another array
83 ビュー (過去 30 日間)
古いコメントを表示
I want to insert a array elements to the end of another array. for example
a=[ 1 2 3 4] and b =[ 5 6 7 8], so i need to insert the 'b' elements to the end of array of 'a'. so the output would be a=[1 2 3 4 5 6 7 8]
please help me with a function that can do this
0 件のコメント
回答 (1 件)
Bruno Luong
2022 年 4 月 20 日
編集済み: Bruno Luong
2022 年 4 月 20 日
a=[ 1 2 3 4]; b=[ 5 6 7 8];
a = [a b]
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Operators and Elementary Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!